]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
The Movers patch.
[lyx.git] / src / ChangeLog
1 2004-10-26  Angus Leeming  <leeming@lyx.org>
2
3         * Makefile.am: add mover.[Ch].
4
5         * converter.C (convert, move): use the new Movers to move external
6         files to the temp directory.
7
8         * lyx_main.C (init): ensure that the global system_movers data
9         is initialised.
10
11         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
12         preferences file.
13
14         * mover.[Ch]: new files, defining a Mover as a utility to move an
15         external file between directories and, if necessary, manipulate this
16         file using a helper script.
17
18 2004-10-25  José Matos  <jamatos@lyx.org>
19
20         * output_docbook.C (makeCommand): merge two if's that tested the same condition.
21
22 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * sgml.C (escapeString): fix warning in a better way
25
26 2004-10-25  José Matos  <jamatos@lyx.org>
27
28         * sgml.C (escapeString): import the require boosts header file for
29         tie, and avoid a signed unsigned comparison.
30
31 2004-10-25  José Matos  <jamatos@lyx.org>
32
33         * sgml.h: add #include <string>
34
35 2004-10-25  José Matos  <jamatos@lyx.org>
36
37         * sgml.[Ch] (escapeString): new function to escape all the string.
38
39 2004-10-24  José Matos  <jamatos@lyx.org>
40
41         * paragraph.[Ch] (getFirstWord): new function to get the first
42         word. Useful for description.
43         (simpleDocBookOnePar): remove depth argument, add another that
44         says where to start the paragraph.
45
46         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
47         use the new functions to fix cleanly the support for descriptions.
48
49 2004-10-24  José Matos  <jamatos@lyx.org>
50
51         * buffer.C (makeLinuxDocFile, makeDocBookFile):
52         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
53         * output_linuxdoc.C (linuxdocParagraphs):
54         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
55         add buffer as argument.
56
57 2004-10-24  José Matos  <jamatos@lyx.org>
58
59         * output_docbook.C (makeEnvironment, searchEnvironment): place
60         CDATA inside paragraphs and fix scope for listitems.
61
62 2004-10-24  José Matos  <jamatos@lyx.org>
63
64         * output_docbook.C: remove using statement for stack.
65
66 2004-10-23  José Matos  <jamatos@lyx.org>
67
68         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
69         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
70         docbook. The new scheme is recursive and makes use of iterators, the
71         same as latex export works.
72         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
73         directly with the paragraph contents. This code was moved up to
74         output_docbook.C (docbookParagraphs).
75         * sgml.C (openTag, closeTag): removed unneeded newlines.
76         (closeEnvTags) removed.
77
78 2003-10-23  André Pönitz  <poenitz@gmx.net>
79
80         * undo.C (textUndoOrRedo):
81         * dociterator.C (asDocIterator): work around crash
82
83         * cursor.C (getStatus): replace ASSERT by more verbose error message
84           and manual correction of the problem. Should increase stability
85           while providing more sensible information.
86
87 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
88
89         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
90
91         * bufferlist.C (previous, next): new methods
92
93         * lfuns.h:
94         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
95
96 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
97
98         * buffer.C (makeDocBookFile): add dsssl stylesheet control
99         entities to preamble.
100
101 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
102
103         * messages.C (Pimpl): strip off translation context information
104
105 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
108         the cursor is correct (bug 1694)
109
110 2004-10-13  José Matos  <jamatos@lyx.org>
111
112         * output_docbook.C (docbookParagraphs): fix closing tags in the
113         end of the document.
114
115 2004-10-09  José Matos  <jamatos@lyx.org>
116
117         * buffer.C: format up to 237.
118         * bufferparams.C (write): use tostr to convert booleans to strings.
119
120 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
121
122         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
123
124 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
125
126         * LaTeX.C: implement use of babel language in xindy.
127
128 2004-10-05  José Matos  <jamatos@lyx.org>
129
130         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
131         Add new translators to help reading and writing the lyx file.
132
133 2004-10-05  José Matos  <jamatos@lyx.org>
134
135         * ParagraphParameters.C (read):
136         * text.C (readParToken): replace nexToken by more appropriate lex
137         methods.
138
139 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
140
141         * LaTeX.C (runMakeIndex):
142         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
143         (usually 'makeindex') configurable.
144
145         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
146         with a variable rather than with a number.
147
148 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
149
150         * output_latex.C (TeXOnePar): make sure font setting is the first
151         thing that gets output (and the last at the end). Should fix bug
152         1404.
153
154 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
155
156         * pch.h: use proper signal include
157
158         * LaTeX.h: Use preferred calling of Boost.Signal
159         * buffer.h: ditto
160
161 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
162
163         * pch.h: dont include <boost/function/function0.hpp>
164
165         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
166
167         * paragraph_pimpl.h: remove usage of ShareContainer
168
169         * paragraph_pimpl.C: remove initialization of ShareContainer.
170
171 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
172
173         Fix bug #1666
174
175         * BufferView.C (putSelectionAt): change the semantics when
176         backwards == true: now, this just swaps cursor and anchor wrt the
177         forward case
178
179         * BufferView.h (putSelectionAt): add some documentation
180
181         * lyxfind.C (findBackwards): rewrite using while(). In particular,
182         make sure backwardChar is done at least once (to avoid getting
183         stuck)
184         (findNextChange): use putSelectionAt in the forward direction
185         (operator()): use Paragraph::isWord
186
187 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
188
189         * Spacing.C (set): c_str fix
190
191 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * lyx_cb.C (Reconfigure): quote the name of configure script in
194         case it contains spaces
195
196 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
197
198         * client: new dir
199
200         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
201         (BOOST_LIBS): use top_buildir when looking for the file
202
203 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
204
205         * pch.h: do not use include boost/format.hpp, multiple symbols
206                 will result (gcc bug)
207
208
209 2004-08-23  José Matos  <jamatos@lyx.org>
210
211         * bufferparams.C (readToken): fix reading of the author field.
212
213 2004-08-20  José Matos  <jamatos@lyx.org>
214
215         * lyxrc.C: remove support/translator.h inclusion since it is not used.
216
217 2004-08-20  José Matos  <jamatos@lyx.org>
218
219         * lyxlex.[Ch] (findToken): remove function.
220
221         * ParagraphParameters.C (findToken):
222         * bufferparams.C (findToken): replace call for previous function
223         with local copy. This local function has one more argument, the
224         read string argument.
225
226 2004-08-16  José Matos  <jamatos@lyx.org>
227
228         * ParagraphParameters.C (write):
229         * Spacing.C (writeFile):
230         * bufferparams.C (writeLaTeX):
231         * lyx_cb.C (Reconfigure):
232         * paragraph.C (write):
233         * tabular.C (write): remove unnecessary space at end of line.
234
235
236 2004-08-16  José Matos  <jamatos@lyx.org>
237
238         * text.C (readParagraph): remove debug message.
239
240 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
243         crash
244
245         * output_plaintext.C (asciiParagraph): set depth correctly
246
247         * outputparams.h: add member depth
248
249         * paragraph_funcs.C (ownerPar): remove.
250
251         * text2.C (setCounter): remove first_pit; comment out some
252         non-working code that uses ownerPar
253
254         * BufferView.C (getParentLanguage): remove. Not used anymore, and
255         uses ownerPar
256
257 2004-08-16  José Matos  <jamatos@lyx.org>
258
259         * text.C (readParToken, readParagraph, read): report all unknown tokens.
260         For the same level of importance use the same chanel to report problems.
261         (read): add code to deal with \begin_body and \end_body.
262
263
264 2004-08-15  José Matos  <jamatos@lyx.org>
265
266         * lyxlex.C (getString): fix comment, buffer::readBody is now
267         buffer:readDocument.
268
269         * tex-strings.C (string_papersize): Default -> default,
270         Custom -> custom, for consistency with other options.
271
272 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
273
274         * pch.h: new file
275
276         * Makefile.am: support pch
277
278 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * text.C (readParToken): remove the static LyXFont variable and
281         pass it as a parameter instead. This fixes a nasty bug where an
282         inset will be inserted with a bad font in some situations
283         (readParagraph): adapt
284
285         * text2.C (setCounter): reduce number of calls to pars_[pit]
286
287         * text.C (singleWidth): add an assert, fix a test
288
289         * rowpainter.C (paintText): reduce number of calls to singleWidth
290
291         * paragraph.C (isHfill):
292         (isNewline): ws only
293
294 2004-08-14  André Pönitz  <poenitz@gmx.net>
295
296         * text.C:
297         * text2.C:
298         * rowpainter.C:
299         * lyxtext.h (several functions): use a Paragraph & argument
300         instead of par_type
301
302 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * metricsinfo.h: add a new field ltr_pos to PainterInfo
305
306         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
307
308         * text.C (singleWidth): remove useless test
309
310 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * tabular.h: remove bogus comments
313
314         * tabular.C (getDescentOfRow):
315         (isPartOfMultiColumn): add assertions
316
317         * lyxlength.C (inPixels): remove #warning
318
319 2004-08-14  André Pönitz  <poenitz@gmx.net>
320
321         * paragraph.h: inline getChar()
322
323         * BufferView.h: remove unused declarations
324
325 2004-08-14  José Matos  <jamatos@lyx.org>
326
327         * Buffer.[Ch] (readDocument): new name for old readBody.
328         * Buffer.C: new file format, new keywords: \begin_document,
329         \begin_header, \begin_body, \end_body.
330
331         * bufferparams.C (readToken): replace all calls to lex.nextToken
332         by lex.next(). Do the same to eatLine except where really needed.
333
334         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
335         line when writing to the lyx file.
336
337         * output_plaintext.C (asciiParagraph): fix Bibliography style
338         handling.
339
340         * text.C (read): fix end of file handling.
341
342 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * MenuBackend.C (Menu::operator[]): new method to access
345         individual menu items
346         (Menu::hasFunc): new method. search for an item that corresponds
347         to a given func
348         (MenuBackend::specialMenu): new method
349         (MenuBackend::expand): if a special menu has been set, skip
350         entries whose func() appears in this menu
351
352 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
353
354         * text3.C: use Debug::DEBUG a bit more
355
356         * text.C (leftMargin): try to simplify a tiny bit change var x to
357         l_margin. Dont output the wide margins always.
358         (rightMargin): no margin in inner texts
359
360         * rowpainter.h (nestMargin): new func
361         (changebarMargin): new func
362         (rightMargin): new func
363
364         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
365         now functions.
366         (paintLast): ditto
367
368         * factory.C (createInset): modify setDrawFrame
369
370         * cursor.C: use Debug::DEBUG a bit more
371
372 2004-08-14  André Pönitz  <poenitz@gmx.net>
373
374         * coordcache.[Ch]:
375         * Makefile.am: new files to accomodate an 'external' (x,y)-position
376         cache for all insets in (at least partially) visible (top-level)
377         paragraphs.
378
379         * BufferView_pimpl.C: reset external coord cache before every update.
380         This means the coord cache only contains valid entries.
381
382 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
383
384         bug 1096
385         * BufferView_pimpl.C (getInsetByCode): move function out of class
386         and change in to a template in anon namespace. Also fix to do what
387         suits us better.
388
389 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
390
391         bug 1305
392         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
393         of char
394         (breakParagraph): rename par to par_offset and use a local
395         reference. Add code to keep the language over a rebreak.
396         (breakParagraphConservative): rename par to par_offset, use a
397         local reference
398         (mergeParagraph): ditto
399         (outerHook): ditto
400         (isFirstInSequence): ditto
401         (outerFont): rename pit to par_offset
402
403         * paragraph.C: ws change
404         * paragraph.h: ditto
405         * text3.C: ditto
406         * text.C: ditto
407
408 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
411         treatment for ']'
412
413         * paragraph.C (simpleTeXOnePar): when we have a \item with
414         optional argument, enclose the argument with curly brackets (in
415         case it contains a closing square bracket)
416
417         * text2.C (editXY):
418         * text2.C (editXY):
419         * text3.C (checkInsetHit): constify
420
421 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
424         documents (bug 1629)
425
426 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
427
428         Fix toggling of collapsable insets with the mouse (bug 1558)
429
430         * lyxfunc.C (dispatch): adapt to LCursor changes
431
432         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
433         make sure that dispatch is not invoked twice
434
435         * cursor.C (needsUpdate): new method
436         (dispatch): return void
437         (result): new method, to access the DispatchResult of the cursor.
438
439 2004-08-13  José Matos  <jamatos@lyx.org>
440
441         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
442
443 2004-08-13  André Pönitz  <poenitz@gmx.net>
444
445         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
446
447         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
448           multiple cells
449
450 2004-08-12  André Pönitz  <poenitz@gmx.net>
451
452         * text3.C: take out the 'cursor right' form insertInset and only
453         do it in those places when it is really needed. Fixes crash on
454         C-m...
455
456 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
457
458         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
459
460         * BufferView_pimpl.C (setBuffer): initialize the current font of
461         the underlying LyXText
462
463 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
464
465         * kbsequence.C (print): use UI native formatting for menu
466         shortcuts
467
468         * text.C (insertChar): call Paragraph::insertChar with a font
469         argument (cosmetic)
470
471         * paragraph.C (insertInset, insertChar): the version that takes a
472         LyXFont argument is now a wrapper around the other one (the
473         opposite used to be true).
474
475         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
476         argument. Font setting is done in Paragraph now.
477
478 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * outputparams.h: add new members intitle and lang.
481
482         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
483         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
484
485 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
486
487         * text3.C (dispatch): remove special handling of button 4 and 5,
488         it is now taken care of in the frontend code.
489
490 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
491
492         * Spacing.h: add <string> (STLPort compile fix)
493
494 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
495
496         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
497
498 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
499
500         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
501         to bool.
502
503         * converter.C (showMessage): inherit from unary_function, make
504         operator() const.
505
506         * buffer.C (writeFile): initialize retval
507
508         * InsetList.h: rename private variable list to list_
509         * InsetList.[Ch]: adjust accordingly.
510
511 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
512
513         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
514         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
515         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
516         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
517         * ParagraphParameters.C, LaTeXFeatures.C: replace
518         "support/std_sstream.h" with <sstream>
519
520 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
521
522         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
523         * lyxsocket.C (LyXServerSocket): ditto
524         (serverCallback): ditto
525
526 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
527
528         * LaTeXFeatures.C: check release date when loading jurabib.
529
530 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
531
532         * lyxserver.C (startPipe): call register_socket_callback
533         (endPipe): call unregister_socket_callback
534
535 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
536
537         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
538         (LyXServerSocket): register the callback
539         (LyXServerSocket): unregister the callback
540         (fd): delete function
541         (serverCallback): improve error checking and setup the callbacks.
542         (dataCallback): change arg to fd.
543         (writeln): new func (copied fro the client socket) used for server
544         write to client.
545         (LyXDataSocket): simplify
546         (~LyXDataSocket): close ann unregiser callback
547         (server): delete function
548         (fd): delete function
549         (readln): small changes, improve some std::string usage
550         (writeln): constify a bit
551
552 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
553
554         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
555         Qt frontend
556
557 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
558
559         * BufferView_pimpl.C (setBuffer): set the layout combox value only
560         after it has been populated
561
562 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
563
564         * text2.C (insertInset): move cursor when inserting inset.
565
566 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
567
568         * kbmap.C (findbindings): a couple of new methods. returns a
569         container of kb_sequence objects. The real work is done by the
570         private recursive version
571         (printbindings): uses findbindings to print out a bracketed list
572         of bindings (renamed from findbinding).
573
574         * MenuBackend.C (binding): use kb_keymap::findbindings
575
576         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
577
578 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
579
580         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
581
582 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * paragraph.C (isWord): return true on insets that report
585         isLetter().
586
587         * text.C (getWord): use Paragraph::isWord to decide what is in a
588         word and what is not; fix bug 1609.
589
590 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
591
592         * tex-strings.C: add "none" to string_paperpackages[], fixes
593         off-by-one-error in the paperpackage selection.
594
595         * lyxlex.[Ch]:
596         * tex-strings.[Ch]: char const * string[n]
597         -> char const * const string[]
598
599 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
600
601         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
602         command, return early.
603
604 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
605
606         * debug.h: add DEBUG to enum and fix size of ANY.
607
608         * debug.C: add support for Debug::DEBUG
609         (showTags): cast errorTags.level to unsigned int
610
611         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
612         (redoCurrentBuffer): ditto
613         (updateScrollbar): ditto
614         * cursor.C (dispatch): ditto
615         * text2.C (setLayout): ditto
616         (setFont): ditto
617         (updateCounters): ditto
618         (editXY): ditto
619         (deleteEmptyParagraphMechanism): ditto
620
621 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
622
623         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
624         annotations to cleanup the Makefile slightly.
625
626 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
627
628         * lyxrc.C: do not set user_email to a default value but use empty
629         instead. The entry used to be translated, which does not work
630         since at the point where lyxrc is constructed there is no
631         translation service available
632
633         * messages.C (getLocaleDir): remove and use directly
634         lyx_localedir() instead
635
636 2004-06-02  Angus Leeming  <leeming@lyx.org>
637
638         Fix crash caused by dereferencing null pointer 'exportdata' in
639         OutputParams by creating a new ExportData variable on the heap,
640         storing it in a boost::shared_ptr.
641         The crash was triggered when generating an Instant Preview
642         of an external inset.
643
644         * Makefile.am: add outputparams.C
645
646         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
647         (c-tor): allocate memory to it.
648
649         * exporter.C (c-tor): associated changes.
650
651 2004-06-01  Angus Leeming  <leeming@lyx.org>
652
653         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
654         contains data before calling isInset(0). (Bug 1513.)
655
656 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
657
658         * exporter.C (checkOverwrite): new method
659         * exporter.C (copyFile): new method
660         * exporter.C (Export): copy referenced files to the document dir
661         * exporter.[Ch]: new class ExportedFile
662         * exporter.[Ch]: new class ExportData. Contains currently the
663         names of referenced external files
664         * outputparams.h: add exportdata member.
665
666 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
667
668         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
669         version.C-tmp
670
671 2004-05-19  Angus Leeming  <leeming@lyx.org>
672
673         * LaTeXFeatures.C:
674         * ToolbarBackend.C:
675         * bufferparams.C:
676         * lyxfunc.C: small changes due to the introduction of namespace
677         lyx::frontend and the moving of namespace biblio to lyx::biblio.
678
679 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
680
681         * text3.C (dispatch): supress update when only moving the cursor
682         * cursor.C (selHandle): remove commented code
683
684 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
685
686         * paragraph.C (startTeXParParams): correct column count
687         * CutAndPaste.C (pasteSelection): remove const_cast
688         * output_docbook.C (docbookParagraphs): remove const_cast
689         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
690         const_cast and return ParagraphList::const_iterator
691         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
692         * output_plaintext.C (writeFileAscii): remove const_cast
693         * paragraph.[Ch] (simpleTeXOnePar): make const
694         * paragraph_funcs.C (outerPar): use const iterators
695         * paragraph_pimpl.C (validate): use const iterators
696         * text.C (setHeightOfRow): use const iterators
697
698 2004-05-17  Angus Leeming  <leeming@lyx.org>
699
700         * lfuns.h:
701         * LyXAction.C (init): new LFUN_INSET_REFRESH.
702
703         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
704         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
705         if the citation engine has changed.
706
707 2004-05-14  José Matos  <jamatos@lyx.org>
708
709         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
710         if the textclass does not provide it. Have it different for sgml and
711         xml.
712         support the language of document.
713         * output_docbook.C (docbookParagraphs):
714         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
715         first anchor as the id of the paragraph, remove special case code.
716         * sgml.C (escapeChar): escape only < & >.
717
718 2004-05-14  Angus Leeming  <leeming@lyx.org>
719
720         * bufferparams.h: move biblio::CiteEngine enum here to minimize
721         dependencies on src/frontends/controllers/biblio.h. Define a
722         CiteEngine_enum wrapper class to enable the enum to be forward
723         declared.
724
725 2004-05-12  Angus Leeming  <leeming@lyx.org>
726
727         * buffer.C: up LYX_FORMAT to 234.
728         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
729         use_numerical_citations with a single biblio::CiteEngine cite_engine
730         variable.
731         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
732
733 2004-05-13  José Matos  <jamatos@lyx.org>
734
735         * converter.h:
736         * converter.C (Converter, readFlags): add xml member.
737         * outputparams.h: add XML flavor.
738         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
739
740 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
741
742         * lyxfunc.C (dispatch):
743         (getStatus): fix handling of LFUN_SEQUENCE
744
745 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
746
747         * debug.C (showLevel): do not forget the end-of-line marker
748
749 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
750
751         * kbmap.C (read): do not stop parsing a bind file when an error
752         occurs (bug 1575)
753
754 2004-04-29  Angus Leeming  <leeming@lyx.org>
755
756         * cursor.C:
757         * factory.C:
758         * pariterator.C:
759         * text2.C: wrap a bunch of #warning statements
760         inside #ifdef WITH_WARNINGS blocks.
761
762 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
763
764         * buffer.C: increment format to 233.
765
766 2004-04-28  Angus Leeming  <leeming@lyx.org>
767
768         * BufferView_pimpl.C:
769         * lyxfunc.C:
770         * text3.C:
771         s/updateToolbar()/updateToolbars()/
772         s/Toolbar.h/Toolbars.h/
773
774 2004-04-28  Angus Leeming  <leeming@lyx.org>
775
776         * BufferView.[Ch] (c-tor):
777         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
778         No longer passes these data to the WorkArea generator.
779
780 2004-04-28  Angus Leeming  <leeming@lyx.org>
781
782         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
783
784 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
785
786         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
787
788 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
789
790         * output_latex.C (TeXEnvironment): make sure that there is a line
791         break before \end{foo} for the last paragraph of a document
792         (TeXOnePar): if the paragraph is at the end of the document (or
793         inset) and the language has to be reset, then make sure that the
794         line break is _before_ the language command, not after (fixes bug
795         1225); also make sure that the language reset command is the first
796         thing after the paragraph (to ensure proper nesting of
797         environments and thus fix bug 1404)
798
799 2004-04-21  John Levon  <levon@movementarian.org>
800
801         * ToolbarBackend.h:
802         * ToolbarBackend.C: make "name" be a programmatic name
803         and a gui_name field.
804
805         * lyxfunc.C: display the minibuffer on M-x
806
807 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
808
809         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
810         (bug 1526)
811
812 2004-04-19  Angus Leeming  <leeming@lyx.org>
813
814         * BufferView_pimpl.C (setBuffer): changed preview interface.
815
816         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
817         possible values.
818
819 2004-04-19  John Levon  <levon@movementarian.org>
820
821         * BufferView_pimpl.C:
822         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
823
824 2004-04-05  Angus Leeming  <leeming@lyx.org>
825
826         * text.C (redoParagraphs): add call to updateCounters(), thereby
827         fixing the missing "Figure #:" label from the caption of a
828         figure float.
829
830 2004-04-13  Angus Leeming  <leeming@lyx.org>
831
832         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
833         cursor is clicked out of an inset.
834
835 2004-04-13  Angus Leeming  <leeming@lyx.org>
836
837         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
838         than an InsetOld one.
839
840 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
841
842         * format.[Ch]: add editor to Format
843         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
844         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
845
846 2004-04-08  André Pönitz  <poenitz@gmx.net>
847
848         * metricsinfo.h: remove PainterInfo::width member
849
850 2004-04-08  Angus Leeming  <leeming@lyx.org>
851
852         * lyx_sty.C (boldsymbol_def): modify so that it outputs
853         "\providecommand" rather than "\newcommand", thereby preventing
854         clashes with packages that define "\boldsymbol" themselves.
855         Eg, beamer.
856
857 2004-04-08  Angus Leeming  <leeming@lyx.org>
858
859         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
860         thereby squashing an unnecessary warning.
861
862 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
863
864         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
865         setBuffer()
866
867 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
868
869         * BufferView.C (setCursor): call redoParagraph (some insets could
870         have been opened)
871         (putSelectionAt): remove the 'double update' trick
872
873         * BufferView_pimpl.C (fitCursor): call refreshPar
874         (workAreaDispatch): remove an uneeded update call
875         (dispatch): remove some manual update calls
876
877         * cursor.[Ch]: remove cached_y_, updatePos
878         (selHandle): set noUpdate when appropriate
879
880         * lyxfunc.C (dispatch): track if we need an update
881
882         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
883
884         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
885         (paintSelection): cheap optimization, do not call cursorX when not
886         needed
887         (paintPars): change signature
888         (refreshPar): add
889         (paintText): adjust
890         (paintTextInset): adjust
891
892         * text.C: adjust
893
894 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
895
896         * lengthcommon.C: compilation fix: remove explicit array size from
897         unit_name[] and friends
898
899 2004-04-05  Angus Leeming  <leeming@lyx.org>
900
901         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
902
903         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
904         present only for the preferences dialog.
905         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
906
907 2004-04-05  Angus Leeming  <leeming@lyx.org>
908
909         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
910         to enable the frontends to export changes to lyxrc correctly.
911
912         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
913
914 2004-04-07  André Pönitz  <poenitz@gmx.net>
915
916         * cursor.[Ch] (selClear, adjust): remove math
917
918         * cursor_slice.C: more agressive assert
919
920         * lyxfunc.C:
921         * BufferView_pimpl.C: rework mouse event dispatch
922
923         * dociterator.C:
924         * paragraph.C:
925         * text2.C:
926         * text3.C: adjust
927
928 2004-04-05  André Pönitz  <poenitz@gmx.net>
929
930         * cursor.[Ch] (valign, halign...): remove unneeded functions
931
932 2004-04-05  Angus Leeming  <leeming@lyx.org>
933
934         * lyxlength.[Ch] (unit_name et al.): const-correct.
935
936 2004-04-05  Angus Leeming  <leeming@lyx.org>
937
938         * BufferView_pimpl.C:
939         * buffer.C:
940         * counters.C:
941         * cursor.C:
942         * lyxfunc.C
943         * paragraph.C:
944         * pariterator.C:
945         * text.C:
946         * text2.C:
947         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
948
949 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
950
951         * text3.C (getStatus): add LFUN_BEGINNINGBUF
952
953 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
954
955         * lyxfind.C: add a couple of inTexted() tests + other small fixes
956         * BufferView_pimpl.[Ch] (getStatus)
957         * BufferView.[Ch] (getStatus): add
958         * lyxfunc.C (getStatus): move lfuns handled in
959         BufferView::dispatch to te function above
960         * Cursor.C (setSelection): set selection() = true
961
962 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
963
964         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
965
966 2004-03-31  Angus Leeming  <leeming@lyx.org>
967
968         * lyxfunc.C (dispatch): Fall through to the generic
969         Dialogs::show("preamble").
970
971 2004-03-31  Angus Leeming  <leeming@lyx.org>
972
973         * lyxfunc.C (dispatch): Fall through to the generic
974         Dialogs::show("spellchecker").
975
976 2004-03-31  Angus Leeming  <leeming@lyx.org>
977
978         * lyxfunc.C (getStatus, dispatch): changed invocation of the
979         preferences dialog.
980
981 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
982
983         * BufferView.C
984         * cursor.[Ch]
985         * dociterator.[Ch]:
986         * insetiterator.[Ch]:
987         * lyxfind.C:
988         * lyxfunc.C:
989         * pariterator.[Ch]:
990         * text2.C:
991         * undo.[Ch]: s/DocumentIterator/DocIterator/g
992
993 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
994
995         * BufferView.C (setCursor, putSelectionAt): call edit to open the
996         insets where we are putting the cursor.
997
998 2004-03-31  Angus Leeming  <leeming@lyx.org>
999
1000         * lfuns.h:
1001         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1002
1003         * lyxrc.[Ch] (read, write): overloaded member functions taking
1004         a std::[io]stream arguments.
1005
1006         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1007
1008 2004-03-31  Angus Leeming  <leeming@lyx.org>
1009
1010         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1011         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1012
1013         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1014         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1015
1016 2004-03-31  Angus Leeming  <leeming@lyx.org>
1017
1018         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1019         the LFUN_ALL_INSETS_TOGGLE code.
1020
1021 2004-03-30  Angus Leeming  <leeming@lyx.org>
1022
1023         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1024         has died. Fall through to the generic Dialogs::show("document").
1025
1026 2004-03-30  Angus Leeming  <leeming@lyx.org>
1027
1028         * lfuns.h:
1029         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1030         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1031
1032         * lyxfunc.C (getStatus, dispatch): define the actions for these
1033         lfuns. Little more than a cut and pste job from ControlDocument.C
1034
1035         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1036
1037 2004-03-30  Angus Leeming  <leeming@lyx.org>
1038
1039         * lfuns.h:
1040         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1041         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1042
1043         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1044         open/closed state of ollapsable insets. Usage:
1045
1046         all-inset-toggle <state> <name>, where
1047         <state> == "open" || "closed" || "toggle" and
1048         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1049
1050         * lyxtext.h, text2.C (toggleInset): removed.
1051
1052         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1053         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1054         now passes LFUN_INSET_TOGGLE to the found inset.
1055
1056         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1057         is now invoked as "all-insets-toggle toggle branch".
1058
1059 2004-03-30  Angus Leeming  <leeming@lyx.org>
1060
1061         * dociterator.C:
1062         * insetiterator.C:
1063         * pariterator.[Ch]: added/corrected header blurb.
1064
1065 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1066
1067         * dociterator.[Ch]: add an inset_ member
1068         (backwardPos): implemented
1069         (backwardPos, forwardPos): use inset_ when the stack is empty.
1070         (doc_iterator_begin, doc_iterator_end): implemented
1071         * pariterator.[Ch]: adjust, add begin, end
1072         * insetiterator.[Ch]: adjust, add begin, end
1073         * cursor.C:
1074         * document.C:
1075         * BufferView.C:
1076         * BufferView_pimpl.C:
1077         * CutAndPaste.C: adjust
1078
1079 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1080
1081         * buffer.C: increment file format to 232.
1082         * LaTeXFeatures.C: add bibtopic package.
1083         * bufferparams.[Ch]: param \use_bibtopic.
1084
1085         * lyxrc.[Ch]: add lyxrc bibtex_command
1086         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1087
1088         * buffer.C: increment file format to 231.
1089
1090 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1091
1092         * dociterator.C: implement forwardPar
1093         * iterators.[Ch]: remove, replaced by
1094         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1095         * BufferView.C:
1096         * BufferView_pimpl.C:
1097         * CutAndPaste.C:
1098         * buffer.C:
1099         * bufferview_funcs.C:
1100         * cursor.C:
1101         * lyxfind.C
1102         * lyxfunc.C
1103         * paragraph_funcs.C
1104         * toc.C:
1105         * Makefile.am: adjust
1106
1107 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1108
1109         * CutAndPaste.C (pasteSelection): fix 2 crashes
1110         (eraseSelection): fix a crash
1111         * paragraph_funcs.C: remove a warning
1112
1113 2004-03-28  Angus Leeming  <leeming@lyx.org>
1114
1115         * lfuns.h:
1116         * LyXAction.C (init): new LFUN_PRINT.
1117
1118         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1119
1120 2004-03-27  Angus Leeming  <leeming@lyx.org>
1121
1122         * lfuns.h:
1123         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1124
1125         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1126
1127 2004-03-27  Angus Leeming  <leeming@lyx.org>
1128
1129         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1130         insetlist always contains non-null pointers to insets.
1131
1132 2004-03-26  Angus Leeming  <leeming@lyx.org>
1133
1134         * src/BufferView_pimpl.C:
1135         * src/CutAndPaste.C:
1136         * src/buffer.C:
1137         * src/iterators.C:
1138         * src/output_plaintext.C:
1139         * src/outputparams.h:
1140         * src/paragraph_funcs.C:
1141         * src/rowpainter.C:
1142         * src/text.C:
1143         * src/text2.C:
1144         * src/frontends/controllers/ControlErrorList.C:
1145         * src/frontends/gtk/FileDialogPrivate.C:
1146         * src/frontends/gtk/GPainter.C:
1147         * src/frontends/gtk/GToolbar.C:
1148         * src/frontends/qt2/QRef.C:
1149         * src/mathed/math_scriptinset.C: squash compiler warnings.
1150
1151 2004-03-26  Angus Leeming  <leeming@lyx.org>
1152
1153         * ispell.C (LaunchIspell::start):
1154         * lyx_cb.C (AutoSaveBuffer::start):
1155         invoke run(DontWait) rather than runNonBlocking().
1156
1157 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1158
1159         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1160
1161 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1162
1163         * kbsequence.C (print): adjust
1164
1165         * kbmap.C (printKeySym): rename and change signature
1166         (printKey): use LyXKeySym::print()
1167
1168 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1169
1170         * undo.C: add using std::advance to compile for stlport
1171
1172 2004-03-24  Angus Leeming  <leeming@lyx.org>
1173
1174         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1175         it leads to a crash when no buffer is present.
1176
1177 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1178             Martin Vermeer  <martin.vermeer@hut.fi>
1179
1180         * lyxfunc.C (dispatch):
1181         * bufferparams.C (readToken): use the new LColor::setColor
1182
1183         * LColor.[Ch] (setColor): new version that takes two strings as
1184         argument and creates a new color entry if necessary
1185
1186 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1187
1188         * buffer.C (makeLaTeXFile): if the main latex file that is
1189         processed is usually a subdocument of some master, then pretend
1190         for a while that it is actually the master
1191
1192 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1193
1194         * buffer.C (getLabelList):
1195         (getBibkeyList): use getMasterBuffer()
1196         (getMasterBuffer): new method. Returns the main document in the
1197         case where one is using included documents.
1198
1199 2004-03-25  André Pönitz  <poenitz@gmx.net>
1200
1201         * Makefile.am:
1202         * iterators.[Ch]:
1203         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1204
1205         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1206
1207         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1208         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1209
1210         * ParameterStruct.h: merge with ParagraphParameters
1211
1212         * lyxtext.h: remove LyXText::parOffset() and getPar()
1213
1214         * text3.C: Remove all 'manual' update calls. We do now one per user
1215         interaction which is completely sufficient.
1216
1217         * Bidi.C:
1218         * BufferView.[Ch]:
1219         * BufferView_pimpl.C:
1220         * FontIterator.[Ch]:
1221         * MenuBackend.C:
1222         * ParagraphParameters.[Ch]:
1223         * buffer.C:
1224         * buffer.h:
1225         * bufferlist.C:
1226         * cursor.[Ch]:
1227         * cursor_slice.[Ch]:
1228         * dociterator.[Ch]:
1229         * errorlist.[Ch]:
1230         * factory.C:
1231         * lfuns.h:
1232         * lyxfind.C:
1233         * lyxfunc.C:
1234         * output_docbook.[Ch]:
1235         * output_latex.[Ch]:
1236         * output_linuxdoc.[Ch]:
1237         * output_plaintext.[Ch]:
1238         * paragraph.[Ch]:
1239         * paragraph_funcs.[Ch]:
1240         * paragraph_pimpl.[Ch]:
1241         * rowpainter.C:
1242         * tabular.[Ch]:
1243         * text.C:
1244         * text2.C:
1245         * toc.C:
1246         * undo.[Ch]: adjust
1247
1248         * frontends/controllers/ControlDocument.C:
1249         * frontends/controllers/ControlErrorList.C:
1250         * frontends/controllers/ControlSpellchecker.C:
1251         * insets/inset.C:
1252         * insets/inset.h:
1253         * insets/insetbase.h:
1254         * insets/insetbibitem.C:
1255         * insets/insetbox.C:
1256         * insets/insetbranch.C:
1257         * insets/insetcaption.C:
1258         * insets/insetcharstyle.C:
1259         * insets/insetcharstyle.h:
1260         * insets/insetcollapsable.C:
1261         * insets/insetcollapsable.h:
1262         * insets/insetert.C:
1263         * insets/insetfloat.C:
1264         * insets/insetfoot.C:
1265         * insets/insetmarginal.C:
1266         * insets/insetnote.C:
1267         * insets/insetoptarg.C:
1268         * insets/insettabular.C:
1269         * insets/insettext.C:
1270         * insets/insettext.h:
1271         * insets/insetwrap.C:
1272         * mathed/math_mboxinset.C:
1273         * mathed/math_nestinset.C:
1274         * mathed/math_scriptinset.C:
1275         * mathed/math_scriptinset.h:
1276         * support/types.h:
1277
1278 2004-03-24  Angus Leeming  <leeming@lyx.org>
1279
1280         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1281         deal with any child processes that have finished but are waiting to
1282         communicate this fact to the rest of LyX.
1283
1284 2004-03-24  Angus Leeming  <leeming@lyx.org>
1285
1286         64-bit compile fixes.
1287
1288         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1289         (c-tor): pass lyx::pos_types rather than ints.
1290
1291         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1292         lyx::pos_type.
1293
1294         * text.C (Delete): compile fix.
1295         (getPar): ensure that function declaration is the same as that in
1296         the header file.
1297
1298 2004-03-23  Angus Leeming  <leeming@lyx.org>
1299
1300         * ispell.C (LaunchIspell):
1301         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1302         a boost::shred_ptr rather than a std::auto_ptr.
1303
1304 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1307         handle LFUN_FILE_INSERT_*
1308
1309         * lyxrc.C (setDefaults, getDescription, output, read):
1310         * lyxrc.h: remove ps_command
1311
1312 2004-03-22  Angus Leeming  <leeming@lyx.org>
1313
1314         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1315         Ensure that error_handler is processed once only and that all data
1316         is saved before attempting to output any warning messages.
1317
1318         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1319
1320 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1321
1322         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1323
1324 2004-03-19  André Pönitz  <poenitz@gmx.net>
1325
1326         * cursor.[Ch] (reset): take main text inset as argument
1327
1328         * BufferView: adjust
1329         * BufferView_pimpl.C: adjust
1330
1331         * paragraph.[Ch]: fix completely broken operator=()
1332
1333 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1334
1335         * LColor.C (getFromLyXName): make sure that the color name is used
1336         as lowercase.
1337
1338 2004-03-17  Angus Leeming  <leeming@lyx.org>
1339
1340         * lfuns.h:
1341         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1342
1343         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1344         dialog and to kill a forked process.
1345
1346 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1347
1348         * text2.C (setCursorFromCoordinates): fix font problem
1349
1350 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1351
1352         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1353         bogus "rebuild cursor" code
1354
1355 2004-03-11  André Pönitz  <poenitz@gmx.net>
1356
1357         * buffer.[Ch]: use InsetText instead of LyXText as container for
1358         the main lyx text.
1359
1360         * dociterator.[Ch]: drop the BufferView * member which is not needed
1361         anymore after the change to buffer.C
1362
1363         * paragraph_funcs.C:
1364         * text.C:
1365         * text2.C:
1366         * BufferView.[Ch]:
1367         * BufferView_pimpl.[Ch]:
1368         * cursor.[Ch]:
1369         * cursor_slice.[Ch]: adjust
1370
1371         * text3.C: fix bug in mathDispatch
1372
1373 2004-03-08  André Pönitz  <poenitz@gmx.net>
1374
1375         * undo.[Ch]: use 'StableDocumentIterator' as base for
1376         the Undo struct.
1377
1378 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1379
1380         * LaTeXFeatures.C:
1381         * bufferparams.[Ch]: add jurabib support and param.
1382
1383         * LaTeX.C: add FIXME/comment.
1384
1385 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1386
1387         * buffer.C: increment file format to 230.
1388
1389 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1390
1391         * cursor.C (dispatch): avoid infinite loops
1392
1393 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1394
1395         * rowpainter.C (paintSelection): fix x coordinates
1396
1397 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1398
1399         * text.C (rowBreakPoint): fix breaking before displayed insets
1400
1401 2004-03-01  André Pönitz  <poenitz@gmx.net>
1402
1403         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1404
1405         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1406
1407         * Makefile.am:
1408         * BufferView.C:
1409         * BufferView_pimpl.C:
1410         * buffer.C:
1411         * lyxfind.C:
1412         * lyxfunc.C:
1413         * text.C:
1414         * text2.C:
1415         * text3.C: adjust
1416
1417 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1418
1419         * lyxtext.h:
1420         * text.C:
1421         * text2.C:
1422         * rowpainter.C:
1423         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1424         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1425
1426 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1427
1428         * Bidi.[Ch] (computeTables): const correctness
1429         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1430         fill_hfill, fill_label_hfill and x from Row
1431         * lyxtext.h: prepareToPrint returns a RowMetrics
1432         * rowPainter.C: adjust
1433         * text.C (prepareToPrint): use width, not textWidth. adjust
1434         (redoParagraphInternal, cursorX): adjust
1435         * text2.C (getColumnNearX): adjust
1436         (init): put a default value to the top LyXText::width
1437
1438 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1439
1440         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1441
1442 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1443
1444         * lyxtext.h: add FontIterator class
1445
1446         * text.C (FontIterator, operator*, operator->, operator++): add
1447         (rowBreakPoint, setRowWidth): adjust (fixing a
1448         rebreaking bug)
1449
1450 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1451
1452         * BufferView_pimpl.C (workAreaDispatch): allow also
1453         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1454
1455 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1456
1457         * text.C (rowBreakPoint): fix a bug showing with very large insets
1458
1459 2004-02-25  André Pönitz  <poenitz@gmx.net>
1460
1461         * text3.C:
1462         * cursor.[Ch]: move some mathed specific code to mathed
1463
1464 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1465
1466         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1467         use_tempdir in preferences
1468         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1469         tempfile creation
1470         * lyx_main.C: ensure that tempdir is valid
1471         * lyxlex.h: correct typo
1472         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1473         * paragraph.[Ch] (isMultiLingual): make const
1474         * cursor.[Ch] (openable): make const
1475
1476 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1477
1478         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1479
1480 2004-02-20  André Pönitz  <poenitz@gmx.net>
1481
1482         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1483
1484         * cursor.[Ch]: prepare for localized getStatus()
1485
1486         * lyxtext.h:
1487         * tabular.C:
1488         * text.C:
1489         * text2.C:
1490         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1491
1492 2004-02-20  André Pönitz  <poenitz@gmx.net>
1493
1494         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1495
1496 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1497
1498         * text2.C (setCursorFromCoordinates): switch to absolute coords
1499         (cursorUp): adjust
1500         (cursorDown): adjust
1501         * text3.C (dispatch): adjust
1502
1503 2004-02-16  André Pönitz  <poenitz@gmx.net>
1504
1505         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1506           insets/ChangeLog)
1507
1508         * cursor_slice.[Ch]: remove unneeded acessor function
1509
1510         * lyxtext.h: rename rtl() to isRTL()
1511
1512         * rowpainter.C:
1513         * tabular.C:
1514         * text.C:
1515         * text2.C:
1516         * text3.C: adjust
1517
1518 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1519
1520         * rowpainter.C (paintSelection): coord fix
1521
1522 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1523
1524         * Spacing.C: compile fix
1525
1526 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1527
1528         * cursor.C (dispatch): restore current_ before returning
1529
1530 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1531
1532         * text2.C (cursorUp, cursorDown): fix coords
1533         (moveUp): fix crash
1534
1535 2004-02-12  André Pönitz  <poenitz@gmx.net>
1536
1537         * lyxtext.h:
1538         * text.C:
1539         * text2.C:
1540         * text3.C: add LCursor & parameter to most cursor movement functions
1541           remove usage of LyXText::cursorRow() and cursorPar()
1542
1543         * cursor.[Ch]: add textRow() needed members
1544
1545         * BufferView.C:
1546         * BufferView_pimpl.C:
1547         * paragraph.[Ch]:
1548         * BufferView.C:
1549         * BufferView_pimpl.C: adjust
1550
1551 2004-02-11  André Pönitz  <poenitz@gmx.net>
1552
1553         * lyxfunc.C:
1554         * BufferView.[Ch]:
1555         * BufferView_pimpl.C: shift undo/redo handling
1556
1557         * cursor.[Ch]: fix mathed crash
1558
1559         * lyxfind.C:
1560         * lyxtext.h: move selectionAsText to LCursor
1561
1562         * output_latex.C:
1563         * paragraph.C:
1564         * text.C:
1565         * text2.C:
1566         * text3.C: adjust
1567
1568         * rowpainter.C: fix excessive drawing
1569
1570 2004-02-06  André Pönitz  <poenitz@gmx.net>
1571
1572         * BufferView.[Ch]:
1573         * BufferView_pimpl.[Ch]:
1574         * text3.C: move some text specific LFUN handling
1575
1576 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1577
1578         * text3.C (checkInsetHit): adjust coords
1579         * text2.C (getColumnNearX): adjust coords
1580         (edit): adjust coords
1581         * text.C (getRowNearY): add two asserts
1582
1583 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1584
1585         * converter.C:
1586         * format.C: add using std::distance to compile on gcc 2.95/stlport
1587
1588 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1589
1590         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1591
1592 2004-02-04  André Pönitz  <poenitz@gmx.net>
1593
1594         * BufferView.[Ch] (insertInset):
1595         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1596
1597         * text2.C:
1598         * text3.C: adjust
1599
1600 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1601
1602         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1603         on the default clause of the switch
1604         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1605         wasn't catched by LCursor::dispatch
1606
1607 2004-02-03  André Pönitz  <poenitz@gmx.net>
1608
1609         * BufferView.C:
1610         * cursor.[Ch]: some additional asserts
1611
1612         * undo.[Ch]: remove LyXText dependency in interface
1613
1614         * lyxfunc.C: adjust
1615
1616         * lyxtext.h (firstPar, lastPar): remove dead functions
1617
1618         * text.C:
1619         * text2.C:
1620         * text3.C:
1621         * paragraph.[Ch]: adjust
1622
1623 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1624
1625         * lyxfind.C (find): fix argument order in call to ::find
1626
1627 2004-02-02  André Pönitz  <poenitz@gmx.net>
1628
1629         * cursor.[Ch]: remove direct access to anchor
1630
1631         * text.C: remove findText() hack
1632
1633 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1634
1635         * iterators.[Ch] (lockPath): remove in favour of...
1636         * BufferView.[Ch] (setCursor): this addition
1637         * BufferView.C (putSelectionAt): adjust
1638         * undo.C (performUndoOrRedo): adjust
1639         * lyxfunc.C (dispatch): adjust
1640
1641 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1642
1643         * iterators.C (lockPath): add a missing slice
1644         * undo.C (performUndoOrRedo): remove redundant positioning code
1645
1646 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1647
1648         * vc-backend.C (scanMaster): ";" -> ';'
1649
1650 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1651
1652         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1653         std::binary_function
1654
1655         * lyxtextclass.C (compare_name): rename to...
1656         (LayoutNamesEqual): ...this
1657
1658         * lyxlex_pimpl.C (compare_tags): inherit from
1659         std::binary_function, put back into anon namespace
1660
1661         * lyxfind.C (MatchString): inherig from std::binary_function
1662         (findChange): use empty() istead of !size()
1663
1664         * format.C (FormatNamesEqual): new functor
1665         (getFormat): use it
1666         (getNumber): use it
1667         (add): use it
1668         (erase): use it
1669         (setViewer): use it
1670
1671         * converter.C (compare_Converter): rename to...
1672         (ConverterEqual): ...this, and fixup a bit.
1673         (getConverter): use it, and make function const
1674         (getNumber): use it, and make function const
1675         (add): use it
1676         (erase): use it:
1677
1678         * bufferlist.C: add using boost::bind
1679
1680         * MenuBackend.C (MenuNamesEqual): new functor
1681         (hasMenu): use it, and make function const
1682         (hasSubmenu): use nested bind to get rid of compare_memfun.
1683
1684 2004-01-30  André Pönitz  <poenitz@gmx.net>
1685
1686         * BufferView_pimpl.C:
1687         * cursor.C:
1688         * cursor.h:
1689         * cursor_slice.[Ch]:
1690         * lyxfunc.C:
1691         * lyxtext.h:
1692         * paragraph_funcs.C:
1693         * paragraph_funcs.h:
1694         * rowpainter.C:
1695         * text.C:
1696         * text2.C:
1697         * text3.C: move some of the edit(x,y) handling to the insets
1698         some coordinate changes.
1699
1700 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1701
1702         * text.C: add using statements for std::advance and std::distance
1703
1704         * paragraph.C: add using statement for std::distance
1705
1706         * lyxfind.C: add using statement for std::advance
1707
1708         * cursor.C (region): remove std:: from swap
1709         (openable): use nucleus in stead of operator->
1710
1711         * BufferView.C: add using statements for std::distance and std::swap
1712
1713 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1714
1715         * iterators.C: Remove the pimple, move the needed structures to
1716         the header file. Create accessor for the positions stack.
1717         (asPosIterator): remove function
1718
1719         * PosIterator.C (PosIterator): move constructors to top of file
1720         (PosIterator): reimplement the constructor taking a ParIterator in
1721         terms of setFrom.
1722         (setFrom): new function
1723         (operator!=): inline it
1724
1725 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1726
1727         * lyxfind.C (replaceAll): use std::advance
1728
1729         * iterators.h: inherit from std::iterator.
1730
1731         * PosIterator.C (advance, distance): remove
1732         * PosIterator.h: interit from std::iterator.
1733
1734 2004-01-26  André Pönitz  <poenitz@gmx.net>
1735
1736         * BufferView.[Ch]:
1737         * BufferView_pimpl.[Ch]:
1738         * InsetList.[Ch]:
1739         * PosIterator.[Ch]:
1740         * buffer.h:
1741         * bufferview_funcs.C:
1742         * cursor.[Ch]:
1743         * cursor_slice.h:
1744         * factory.[Ch]:
1745         * iterators.[Ch]:
1746         * lyxfind.C:
1747         * lyxfunc.C:
1748         * lyxtext.h:
1749         * output_docbook.C:
1750         * output_latex.C:
1751         * output_linuxdoc.C:
1752         * output_plaintext.C:
1753         * paragraph.[Ch]:
1754         * paragraph_funcs.[Ch]:
1755         * paragraph_pimpl.[Ch]:
1756         * rowpainter.C:
1757         * tabular.C:
1758         * tabular.h:
1759         * text.C:
1760         * text2.C:
1761         * text3.C: more IU:  dumps most of the rest of the mathcursor
1762     implementation into cursor.[Ch]; "globalize" a bit of it.
1763
1764 2004-01-25  Angus Leeming  <leeming@lyx.org>
1765
1766         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1767
1768 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1769
1770         * LaTeXFeatures.h: add nice_ and nice() const
1771         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1772
1773 2004-01-20  André Pönitz  <poenitz@gmx.net>
1774
1775         * BufferView.[Ch]:
1776         * BufferView_pimpl.C:
1777         * PosIterator.C:
1778         * bufferview_funcs.C:
1779         * cursor.[Ch]:
1780         * cursor_slice.[Ch]:
1781         * factory.C:
1782         * iterators.C:
1783         * lyx_cb.C:
1784         * lyxfind.C:
1785         * lyxfunc.C:
1786         * lyxtext.h:
1787         * rowpainter.C:
1788         * text.C:
1789         * text2.C:
1790         * text3.C:
1791         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1792           LCursor and mathcursor parts to LCursor and InsetBase.
1793
1794 2004-01-15  André Pönitz  <poenitz@gmx.net>
1795
1796         * cursor_slice.[Ch]: add a few covienience functions
1797
1798         * funcrequest.[Ch]: remove BufferView * member
1799
1800         * BufferView_pimpl.C:
1801         * cursor.C:
1802         * factory.[Ch]:
1803         * lyxfind.[Ch]:
1804         * lyxfunc.C:
1805         * lyxtext.h:
1806         * text3.C:
1807         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1808
1809 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1810
1811         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1812         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1813
1814 2004-01-13  André Pönitz  <poenitz@gmx.net>
1815
1816         * textcursor.[Ch]:
1817         * lyxtext.h: hide cursor and selection anchor behind accessor function
1818
1819         * BufferView.C:
1820         * BufferView_pimpl.[Ch]:
1821         * PosIterator.C:
1822         * bufferview_funcs.C:
1823         * cursor.h:
1824         * lyxfind.C:
1825         * lyxfunc.C:
1826         * text.C:
1827         * text2.C:
1828         * text3.C:
1829         * undo.C: adjust
1830
1831         * cursor.h:
1832         * cursor_slice.[Ch]: some integer type changes for inset unification
1833
1834         * lyxcursor.[hC]: remove, it's CursorSlice now.
1835
1836         * Makefile.am:
1837         * BufferView_pimpl.[Ch]:
1838         * bufferview_funcs.C:
1839         * cursor_slice.C:
1840         * lyxtext.h:
1841         * text.C:
1842         * text2.C:
1843         * text3.C:
1844         * textcursor.[Ch]: adjust
1845
1846 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1847
1848         * text2.C (undoSpan): add and use
1849         * text.C (breakParagraph): use undoSpan (fix bug 578)
1850         * lyxtext.h: adjust
1851
1852 2004-01-08  Angus Leeming  <leeming@lyx.org>
1853
1854         * BufferView_pimpl.C (MenuInsertLyXFile):
1855         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1856         * lyxfunc.C (menuNew, open, doImport):
1857         FileFilterList change to the FileDialog open and save functions.
1858
1859 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1860
1861         * ShareContainer.h: make isEqual and isUnique adaptable
1862
1863         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1864
1865 2004-01-07  Angus Leeming  <leeming@lyx.org>
1866
1867         * LyXAction.C:
1868         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1869
1870         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1871
1872         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1873         functions replacing find, replace and replaceAll.
1874
1875         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1876         LFUN_WORDFIND(FORWARD|BACKWARD).
1877
1878 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * text.C (breakParagraph): remove an outdated #warning
1881
1882 2004-01-07  André Pönitz  <poenitz@gmx.net>
1883
1884         * lyxfind.C: somewhat clearer logic
1885
1886         * text.C: prevent crash in cursorX on unitialized row cache
1887
1888 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1889
1890         * lyxcursor.[Ch] (operator>): add
1891         * textcursor.C (selStart, selEnd): use std::min and std::max
1892
1893 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1894
1895         * Chktex.C: include boost/format.hpp
1896
1897 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1898
1899         * InsetList.C: replace functor MathcIt with adaptable functor
1900         InsetTablePosLess
1901         (insetIterator): modify accordingly
1902
1903         * BranchList.h: move the BranchNamesEqual functor here from...
1904         * BranchList.C: ... to here
1905
1906         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1907         SameName and match.
1908         (add): replace a finding loop with std::find_if.
1909
1910 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1911
1912         * output_docbook.C: moving LatexParam functionality into
1913         .layout files
1914
1915 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1916
1917         * buffer.C: increment format to 229.
1918
1919 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1920
1921         * LaTeXFeatures.C:
1922         * lyx_sty.[Ch]: remove minipageindent_def
1923
1924         * LyXAction.C:
1925         * factory.C:
1926         * lfuns.h:
1927         * lyxfunc.C:
1928         * text3.C: remove LFUN_INSET_MINIPAGE
1929
1930 2003-12-28  Angus Leeming  <leeming@lyx.org>
1931
1932         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1933
1934 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1935
1936         * text2.C (setParagraph): fix off-by-one crash
1937
1938 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1939
1940         * output_docbook.C: header stuff for AGU
1941
1942 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1943
1944         * text2.C (redoCursor): remove
1945         * text.C:
1946         * text3.C:
1947         * BufferView_pimpl.C: remove calls to redoCursor and
1948         setCursor(cursor.par(), cursor.pos()) all around
1949
1950 2003-12-15  Angus Leeming  <leeming@lyx.org>
1951
1952         * buffer.C: up the format to 228.
1953
1954 2003-12-15  André Pönitz  <poenitz@gmx.net>
1955
1956         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1957         slices
1958
1959         * Makefile.am:
1960
1961         * BufferView_pimpl.C:
1962         * cursor.[Ch]:
1963         * lyxcursor.[Ch]:
1964         * rowpainter.[Ch]:
1965         * lyxtext.h:
1966         * text.C:
1967         * text2.C:
1968         * text3.C: adjust
1969
1970 2003-12-15  Angus Leeming  <leeming@lyx.org>
1971
1972         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1973         than getFromGUIName to manipulate the color.
1974
1975 2003-12-14  Angus Leeming  <leeming@lyx.org>
1976
1977         * BranchList.[Ch]: minimize the API.
1978         (Branch::getBranch, getColor): now return a 'const &'.
1979         (Branch::setSelected) now returns a bool set to true if the
1980         selection status changes.
1981         (BranchList::clear, size, getColor, setColor, setSelected,
1982         allBranches, allSelected, separator): removed.
1983         (BranchList::find): new functions, returning the Branch with
1984         the given name.
1985         (BranchList::add, remove): return a bool indicating that
1986         the operation was successful.
1987
1988         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1989         new InsetBranch::isBranchSlected member function.
1990
1991         * LColor.[Ch]: mimimize the API.
1992         (fill): renamed as addColor and made private.
1993         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1994         versions of these functions taking a string arg have been removed.
1995
1996         * bufferparams.C (readToken):
1997         * lyxfunc.C (dispatch):
1998         * lyxrc.C (read): changes due to the altered BranchList and
1999         LColor APIs.
2000
2001         * factory.C (createInset, readInset): changes due to altered
2002         InsetBranch c-tor.
2003
2004 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2005
2006         * factory.C:
2007         * lyxfunc.C: remove insetminipage. "minipage-insert"
2008         now produces a frameless minipage box inset.
2009
2010 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2011
2012         * textcursor.[Ch] (selStart,selEnd): add new methods
2013         remove selection::start, end, use LyXCursor::operator<
2014         * lyxcursor.[Ch] (operator<): add
2015         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2016         * BufferView.[Ch] (unsetXSel): add
2017         * text2.C (clearSelection): use unsetXSel,adjust
2018         * text.C: adjust
2019         * text3.C: adjust
2020         * rowpainter.C: adjust
2021         * bufferview_funcs.C (put_selection_at): adjust
2022
2023 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2024
2025         * BufferView_pimpl.C: small coord. correction
2026
2027 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2028
2029         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2030         dragging over the splash screen.
2031
2032 2003-12-11  Angus Leeming  <leeming@lyx.org>
2033
2034         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2035         as it is now handled in LyXText::dispatch.
2036
2037         * text3.C (doInsertInset): remove a level of nesting.
2038
2039 2003-12-11  Angus Leeming  <leeming@lyx.org>
2040
2041         * factory.C (createInset): changes due to the changed interface to
2042         InsetCommandMailer::string2params.
2043
2044 2003-12-10  Angus Leeming  <leeming@lyx.org>
2045
2046         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2047         'dialog-show-new-inset <inset name>'
2048
2049 2003-12-10  Angus Leeming  <leeming@lyx.org>
2050
2051         * buffer.C: up the format to 227.
2052
2053         * factory.C: the box inset is now identified simply by 'Box'.
2054
2055 2003-12-10  Angus Leeming  <leeming@lyx.org>
2056
2057         * buffer.C: up the format to 226.
2058
2059         * factory.C: the note inset is now identified simply by 'Note'.
2060
2061 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2062
2063         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2064         when a pit is enough. Standarize a couple of loops.
2065
2066 2003-12-05  Angus Leeming  <leeming@lyx.org>
2067
2068         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2069         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2070         data to the re-worked "log" dialog.
2071
2072 2003-12-03  André Pönitz  <poenitz@gmx.net>
2073
2074         * PosIterator.C:
2075         * iterators.C:
2076         * lyxtext.h:
2077         * output_latex.C:
2078         * paragraph_funcs.C:
2079         * text.C:
2080         * text2.C: use Inset::getText instead of Inset::getParagraph
2081
2082 2003-12-03  André Pönitz  <poenitz@gmx.net>
2083
2084         * buffer.[Ch]:
2085         * lyxtext.h:
2086         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2087         InsetText::read() as LyXText::read()
2088
2089 2003-12-02  Angus Leeming  <leeming@lyx.org>
2090
2091         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2092         type. Add a comment in the implementation that the function uses
2093         the stream's bad() function rather than fail() as the std::streams
2094         would do.
2095
2096 2003-12-02  André Pönitz  <poenitz@gmx.net>
2097
2098         * lyxlex.[Ch]: make interface more similar to std::stream
2099
2100         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2101
2102 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2103
2104         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2105
2106 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2107
2108         * vspace.[Ch]: remove VSpace::NONE
2109
2110 2003-12-01  André Pönitz  <poenitz@gmx.net>
2111
2112         * buffer.[Ch]:
2113         * lyxtext.h: move ParagraphList member to LyXText
2114         rename LyXText::ownerParagraphs to LyXText::paragraph
2115
2116         * CutAndPaste.C:
2117         * bufferview_funcs.C:
2118         * iterators.[Ch]:
2119         * lyx_cb.C:
2120         * paragraph.C:
2121         * rowpainter.C:
2122         * tabular.C:
2123         * text.C:
2124         * text2.C:
2125         * text3.C: adjust
2126
2127         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2128
2129         * undo.C: fix cursor positioning
2130
2131 2003-12-01  John Levon  <levon@movementarian.org>
2132
2133         * BufferView_pimpl.C: fix a crash on exit with
2134         a buffer open
2135
2136 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2137
2138         * BranchList.C: fix setSelected() method.
2139
2140 2003-11-28  André Pönitz  <poenitz@gmx.net>
2141
2142         * ParagraphParameters.[Ch]:
2143         * ParameterStruct.h: remove space above/below from Paragraph to
2144          InsetVSpace
2145
2146         * BufferView_pimpl.C:
2147         * factory.C:
2148         * lyxfunc.C:
2149         * lyxtext.h:
2150         * output_latex.C:
2151         * paragraph.C:
2152         * paragraph_funcs.C:
2153         * rowpainter.[Ch]:
2154         * text.C:
2155         * text2.C:
2156         * text3.C: adjust
2157
2158 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2159
2160         * factory.C: Syntax change for CharStyles
2161
2162 2003-11-28  André Pönitz  <poenitz@gmx.net>
2163
2164         * BufferView.[Ch]:
2165         * BufferView.[Ch]:
2166         * buffer.[Ch]:
2167         * buffer.[Ch]: move LyXText member
2168
2169 2003-11-28  André Pönitz  <poenitz@gmx.net>
2170
2171         * BufferView.[Ch]: make LyXText * text a private member
2172
2173         * BufferView_pimpl.C:
2174         * cursor.C:
2175         * iterators.C:
2176         * lyx_cb.C:
2177         * lyxfind.C:
2178         * lyxtext.h:
2179         * rowpainter.[Ch]:
2180         * text.C:
2181         * text2.C:
2182         * undo.C: adjust
2183
2184         * output_plaintext.C: cleanup
2185
2186 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2187
2188         * buffer.C:
2189         * lyxtextclass.[Ch]: parametrize SGML document header
2190
2191 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2192
2193         * converter.[Ch]:
2194         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2195         getFlavor().
2196
2197 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2198
2199         * text2.C (setFont): rework using PosIterator (no more recursive)
2200         (setCharFont): no more needed
2201         (setLayout): no more selection cursors fiddling (done by redoCursor)
2202         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2203         destroy remaining ones)
2204
2205 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2206
2207         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2208         * lyxtext.h: ditto
2209         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2210         selection cursors
2211         * lyxfunc.C: adjust
2212         * text3.C: adjust + re-allow multi par depth changes
2213         * textcursor.C: simplify a bit
2214
2215 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2216
2217         * src/buffer.C:
2218         * src/lyxlayout.C:
2219         * src/lyxlayout.h:
2220         * src/lyxtext.h:
2221         * src/output_docbook.C:
2222         * src/output_latex.C:
2223         * src/paragraph.C:
2224         * src/paragraph.h:
2225         * src/sgml.C:
2226         * src/sgml.h:
2227         * src/text2.C: Introducing a number of tags parametrizing various
2228         XML formats that we may want to support
2229
2230 2003-11-25  André Pönitz  <poenitz@gmx.net>
2231
2232         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2233
2234         * lyxtext.h (leftMargin/rightMargin): simplify interface
2235
2236         * rowpainter.C:
2237         * text.C:
2238         * text2.C:
2239         * text3.C: adjust
2240
2241 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2242
2243         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2244         master file to any child files. Fixes bug 546.
2245
2246 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2247
2248         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2249
2250 2003-11-24  André Pönitz  <poenitz@gmx.net>
2251
2252         * rowpainter.C: simplification
2253
2254         * text2.C (updateCounters): remove call to redoParagraph on
2255         changed labels as this is far too expensive.
2256
2257 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2258
2259         * converter.C (convert): fix a crash: this function gets
2260         called with buffer == 0 from importer code.
2261
2262 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2263
2264         * text3.C (cursorPrevious): make sure that we do not compare
2265         iterators form different containers.
2266         (cursorNext): ditto
2267
2268         * rowpainter.C (paintSelection): make sure that we do not compare
2269         iterators from different containers.
2270
2271         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2272         iterators from different ParagraphList containers.
2273         [NEXT] ditto
2274
2275         * text2.C (LyXText): change order of initialization slightly
2276         (operator=): new function. copy all variables except cache_par_
2277         (moveUp): make sure that we do not compare iterators from
2278         different ParagraphList constainers.
2279         (moveDown): ditto
2280
2281         * text.C (firstPar): new function
2282         (lastPar): new function
2283         (endPar): new function
2284
2285         * lyxtext.h: move things around and group public functions, public
2286         variables, private functions, private variables
2287
2288 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2289
2290         * factory.C: change call to InsetERT constructor to avoid
2291         additional invocation of method status
2292         * text2.C (toggleInset): remove redundant update() call
2293         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2294         instead of a Bufferview pointer
2295
2296 2003-11-21  André Pönitz  <poenitz@gmx.net>
2297
2298         * rowpainter.C: simplification
2299
2300 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2301
2302         * text3.C (dispatch): make possible to extend a word/row selection
2303         with the mouse
2304
2305 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * lyxtext.h: x0_,y0_ -> xo_,yo_
2308         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2309         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2310         * rowpainter.C (paintRows): paint full paragraphs
2311
2312 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2313
2314         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2315         screen coordinates)
2316
2317 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2318
2319         * lyxtext.h: add x0_, y0_
2320         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2321         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2322
2323 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2324
2325         * text2.C (setCursorIntern): move the x_target update here *
2326         * text3.C: change some bv() to true/false in calls to
2327         cursorUp/Down/Right/Left
2328         * cursor.C: use helper function.
2329
2330 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2331
2332         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2333         * paragraph_funcs.[Ch]: correct comment
2334         * rowpainter.C: do not paint selections away from bv->cursor()
2335         Fix a long standing selection painting bug.
2336         * text3.C: generalize mouse-selection code to LyXTexts other that
2337         top one
2338         * textcursor.C: do not use y coords if we can use par offsets
2339
2340 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2341
2342         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2343         cursor position after e.g. inset insert)
2344
2345 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2346
2347         * lyxfind.C (replace): adjust to locking removal + some
2348         code simplification
2349
2350 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2351
2352         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2353         of the path
2354
2355 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2356
2357         * lyxlayout.[Ch]:
2358         * output_docbook.C: XML sanitation: new layout
2359         parameters InnerTag and CommandDepth
2360
2361 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2362
2363         * BufferView_pimpl.C:
2364         * factory.C:
2365         * text3.C: Fix the insertion and modification of button-style
2366         insets
2367
2368 2003-11-13  André Pönitz  <poenitz@gmx.net>
2369
2370         * InsetList.[Ch]: remove deleteLyXText
2371
2372         * paragraph.[Ch]: cache beginOfBody position
2373
2374         * Bidi.C:
2375         * text.C:
2376         * text2.C:
2377         * text3.C: remove superfluous update() calls
2378
2379         * vspace.C: cleanup
2380
2381 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2382
2383         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2384         * BufferView.C (fitLockedInsetCursor): remove
2385         * cursor.[Ch] (getDim): add
2386         * text.C (getRowNearY): add faster version
2387         * text3.C: remove some update calls
2388
2389 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2390
2391         * LaTeXFeatures.C:
2392         * LyXAction.C:
2393         * MenuBackend.C:
2394         * MenuBackend.h:
2395         * dispatchresult.h:
2396         * factory.C:
2397         * lfuns.h:
2398         * lyxfunc.C:
2399         * lyxtextclass.C:
2400         * lyxtextclass.h:
2401         * text3.C: The Character Style /XML short element patch.
2402
2403 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2404
2405         * text3.C:
2406         * factory.C: Small step to solving 'unable to insert some insets'
2407         problem
2408
2409 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2410
2411         * cursor.[Ch] (updatePos): new function for updating the y
2412         position of the tip inset
2413         * bufferview_funcs.C (put_selection_at):
2414         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2415
2416 2003-11-11  André Pönitz  <poenitz@gmx.net>
2417
2418         * text.C: remove big comment on invalid Paragraph pointers as it is
2419         not valid anymore
2420
2421 2003-11-11  André Pönitz  <poenitz@gmx.net>
2422
2423         * text_funcs.[Ch]: merge with ...
2424
2425         * text.C: ... this
2426
2427         * lyxtext.h:
2428         * text2.C:
2429         * text3.C: adjust
2430
2431         * Makefile.am: remove text_funcs.[Ch]
2432
2433 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2434
2435         * cursor.C (getPos): return absolute cached y coord
2436
2437         * BufferView_pimpl.C (fitCursor): new simplistic code
2438         (workAreaDispatch): add a fitCursor call
2439
2440 2003-11-10  André Pönitz  <poenitz@gmx.net>
2441
2442         * BufferView.[Ch]:
2443         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2444
2445 2003-11-10  André Pönitz  <poenitz@gmx.net>
2446
2447         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2448         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2449         indicate that the cursor needs to leave an inset
2450
2451         * lyxtext.h: remove inset locking
2452
2453         * cursor.[Ch]: re-implement functionality provided by inset locking
2454
2455         * BufferView.[Ch]:
2456         * BufferView_pimpl.[Ch]:
2457         * LyXAction.C:
2458         * bufferview_funcs.[Ch]:
2459         * factory.C:
2460         * funcrequest.[Ch]:
2461         * iterators.C:
2462         * lyx_cb.C:
2463         * lyxfind.C:
2464         * lyxfunc.C:
2465         * text.C:
2466         * text2.C:
2467         * text3.C:
2468         * undo.C: adjust
2469
2470 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2471
2472         * PosIterator.[Ch]: replace the stack with a vector, add inset
2473         accesor
2474         * iterators.[C]: adjust
2475
2476 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2477
2478         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2479         replaced
2480         * paragraph_funcs.C (readParToken): put the correct id in the
2481         error item, not the id of the top paragraph
2482
2483 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2484
2485         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2486         * bufferview_funcs.C (put_selection_at): use the above
2487
2488 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2489
2490         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2491
2492 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2493
2494         * output_linuxdoc.h:
2495         * output_plaintext.h:
2496         * output.h:
2497         * output_docbook.h: add #include statements
2498
2499 2003-11-05  José Matos  <jamatos@lyx.org>
2500
2501         * output_docbook.[Ch]:
2502         * output_latex.[Ch]:
2503         * output_linuxdoc.[Ch]:
2504         * output_plaintext.[Ch]: New files for output formats.
2505         * output.[Ch]: New file for helper functions.
2506
2507         * buffer.[Ch]:
2508         * paragraph_funcs.[Ch]: output functions moved to new files.
2509
2510         * outputparams.h: rename of latexrunparams.h
2511
2512         * LaTeX.[Ch]:
2513         * buffer.[Ch]:
2514         * bufferlist.[Ch]:
2515         * converter.[Ch]:
2516         * exporter.C:
2517         * paragraph.[Ch]:
2518         * paragraph_funcs.[Ch]:
2519         * paragraph_pimpl.[Ch]:
2520         * tabular.[Ch]: rename ascii to plaintext
2521         and LatexRunParams to OutputParams.
2522
2523 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2524
2525         * iterators.[Ch] (text): require bv argument
2526         * undo.C (recordUndo):
2527         * lyxfunc.C (dispatch):
2528         * bufferview_funcs.C (put_selection_at): adjust
2529
2530 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2531
2532         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2533
2534 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2535
2536         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2537         nestings
2538
2539 2003-11-04  André Pönitz  <poenitz@gmx.net>
2540
2541         * cursor.[Ch]: restructure
2542
2543         * BufferView.[Ch]:
2544         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2545
2546         * iterators.[Ch] (asCursor): remove
2547
2548         * lfuns.h: remove LFUN_INSET_EDIT
2549
2550         * lyxfunc.C:
2551         * tabular.C:
2552         * text.C:
2553         * text2.C:
2554         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2555
2556 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2557
2558         * lyxfind.[Ch]: complete overhaul
2559         * BufferView_pimpl.C:
2560         * lyxfunc.C: adjust
2561         * paragraph.[Ch] (insert): add
2562
2563 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2564
2565         * BufferView.[Ch]:
2566         * lyxtext.h:
2567         * text.C: remove dead spellcheck code
2568
2569 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2570
2571         * dispatchresult.h: add a val setter
2572
2573         * cursor.C (dispatch): use a tempvar for data_[i]
2574
2575 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2576
2577         * PosIterator.[Ch]: compile fix
2578
2579 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2580
2581         * text.C (cursorPar): deactivate the cursor cache
2582
2583 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2584
2585         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2586
2587 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2588
2589         * text3.C (dispatch): adjust for new DisptchResult semantics.
2590
2591         * lyxfunc.C (dispatch): handle update when return from
2592         Cursor::dispatch, adjust for new DispatchResult semantics.
2593
2594         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2595         DispatchResult(true) mean to not update. Add class functions for
2596         setting dispatched and update, as well as reading.
2597
2598         * cursor.C (dispatch): don't handle update here
2599
2600 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2601
2602         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2603         * trans_mgr.C: adjust
2604
2605         * paragraph_funcs.C (readParToken): exception safety
2606
2607         * lyxvc.h: store the vcs pointer in a scoped_ptr
2608         * lyxvc.C: adjust
2609
2610         * lyxsocket.C (serverCallback): exception safety
2611
2612         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2613
2614         * ispell.C (clone): make it return a auto_ptr
2615
2616         * factory.C (createInset): exception safety
2617         (readInset): exception safety
2618
2619         * bufferlist.C (newBuffer): exception safety
2620
2621         * Thesaurus.C (Thesaurus): use initialization for aik_
2622
2623         * MenuBackend.C (expandToc): exception safety.
2624
2625 2003-11-03  André Pönitz  <poenitz@gmx.net>
2626
2627         * buffer.C:
2628         * buffer.h:
2629         * bufferview_funcs.C: remove getInsetFromId()
2630
2631         * lyxcursor.[Ch]:
2632         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2633
2634         * lyxfunc.C:
2635         * text2.C:
2636         * text3.C: adjust
2637
2638 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2639
2640         * PosIterator.C (distance, advance): new
2641         * bufferview_funcs.[Ch] (put_selection_at): new
2642         * iterators.[Ch] (lockPath): new
2643
2644 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2645
2646         * iterators.[Ch] (asPosIterator): added
2647         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2648         * PosIterator.[Ch]: added
2649
2650 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2651
2652         * text3.C:
2653         * lyxfunc.C:
2654         * cursor.C (dispatch):
2655         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2656
2657         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2658         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2659         contructor, add a class function dispatched. Remove operator>=
2660
2661 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2662
2663         * debug.C: only use the default constructor for debugstream
2664         (lyxerr) here.
2665
2666         * main.C (main): include debug.h and setup the lyxerr streambuf
2667         here.
2668
2669 2003-10-31  José Matos  <jamatos@lyx.org>
2670
2671         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2672
2673         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2674         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2675         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2676         * paragraph_pimpl.C (simpleTeXSpecialC):
2677         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2678         add LatexRunParams argument.
2679
2680         * exporter.C (Export): change call accordingly.
2681
2682         * latexrunparams.h: add new member to take care of the other backends.
2683 2003-10-30  José Matos  <jamatos@lyx.org>
2684
2685         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2686         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2687         factorise code for paragraph output.
2688         * buffer.[Ch]:
2689         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2690         move functions.
2691
2692 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2693
2694         * text3.C (dispatch):
2695         * lyxfunc.C (dispatch):
2696         * cursor.C (dispatch):
2697         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2698
2699         * dispatchresult.h: make the dispatch_result_t ctor explicit
2700
2701 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2702
2703         * sgml.[Ch]:
2704         * buffer.C: small refactoring of docbook stuff
2705
2706 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2707
2708         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2709         meaning.
2710
2711 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2712
2713         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2714         operator dispatch_result_t, and operators for == != and >=
2715
2716         * cursor.C (dispatch): adjust for operator dispatch_result_t
2717         removal. comment out call to update
2718
2719         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2720
2721 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * text3.C:
2724         * text2.C:
2725         * text.C:
2726         * lyxtext.h:
2727         * lyxfunc.C:
2728         * cursor.C:
2729         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2730         (dispatch):
2731
2732         * dispatchresult.h: new file, DispatchResult broken out of
2733         insets/insetbase.h
2734
2735         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2736
2737 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2738
2739         * text.C (rowBreakPoint): put a hack inside #if 0
2740
2741 2003-10-28  André Pönitz  <poenitz@gmx.net>
2742
2743         * lyxtext.h:
2744         * metricsinfo.C:
2745         * paragraph_funcs.C:
2746         * rowpainter.C:
2747         * text.C:
2748         * text2.C: general cleanup (lots of small stuff)
2749
2750 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2751
2752         * text2.C (cursorEnd): simple fix to the "end key goes to one
2753         before the end on last row" bug
2754
2755 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2756
2757         * text.C (backspace): fix the "zombie characters"
2758
2759 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2760
2761         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2762
2763 2003-10-27  André Pönitz  <poenitz@gmx.net>
2764
2765         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2766
2767         * factory.C: handle new InsetPagebreak, InsetLine
2768
2769         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2770         and move handling into new InsetPagebreak, InsetLine
2771
2772         * BufferView_pimpl.C:
2773         * LyXAction.C:
2774         * ParagraphParameters.C:
2775         * ParameterStruct.h:
2776         * lyxfunc.C:
2777         * lyxtext.h:
2778         * paragraph.C:
2779         * paragraph.h:
2780         * paragraph_funcs.C:
2781         * paragraph_pimpl.C:
2782         * rowpainter.C:
2783         * text.C:
2784         * text2.C:
2785         * text3.C: adjust
2786
2787 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2788
2789         * text.C:
2790         * lyxrow_funcs.[Ch]:
2791         * Bidi.C:
2792         * paragraph.C:
2793         * lyxtext.h:
2794         * rowpainter.C:
2795         * text2.C:
2796         * text3.C: remove lastPos uses in favour of Row::endpos
2797
2798 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2799
2800         * undo.C (performUndoOrRedo): fix two crashes by setting a
2801         cursor by hand and reordering some calls. Use bv->lockInset instead
2802         of inset->edit because the latter loses cursor information
2803
2804 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2805
2806         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2807         by Martin
2808         (rowBreakPoint): fix width. change point to point + 1.
2809         Add a missing check.
2810
2811 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2812
2813         * MenuBackend.C:
2814         * lyxfunc.C: fix (at least partly) the problems
2815         with the Nav menu and headers inside branch insets
2816         reported by Kayvan
2817
2818 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2819
2820         * paragraph.C (getChar): add strong asserts
2821
2822         * lyxrow_funcs.C (lastPos): remove hideous hack
2823
2824         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2825         (fill): adjust to that (avoid an infinite loop)
2826
2827 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2828
2829         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2830
2831 2003-10-23  André Pönitz  <poenitz@gmx.net>
2832
2833         * RowList_fwd.h: change list<> to vector<> to gain speed
2834         after suggestion from Alfredo
2835
2836 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2837
2838         * lyxtext.h: move the bidi stuff from here...
2839         * text.C: and here
2840         * text2.C: and here
2841         * Bidi.[Ch]: ... to here
2842
2843 2003-10-23  André Pönitz  <poenitz@gmx.net>
2844
2845         * lyxtext.h:
2846         * text.C (isLastRow, isFirstRow): new functions
2847
2848         * paragraph.h: new width cache member
2849
2850         * rowpainter.C: replace RowList::iterator with Row & where possible
2851
2852         * lyxfunc.C: replace several view()->text with a single call
2853
2854         * toc.C: fix 'unused' warning
2855
2856 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2857
2858         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2859         when woring with stream::pos_type
2860         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2861
2862 2003-10-22  André Pönitz  <poenitz@gmx.net>
2863
2864         * lyxtext.h:
2865         * text.C: use Row & instead of RowList::iterator
2866
2867         * lyxrow.h: rename end() to endpos()
2868
2869         * rowpainter.C:
2870         * text.C:
2871         * text2.C: adjust
2872
2873 2003-10-22  Angus Leeming  <leeming@lyx.org>
2874
2875         * buffer.[Ch] (fully_loaded): new member function, returning true
2876         only when the file has been loaded fully.
2877         Used to prevent the premature generation of previews and by the
2878         citation inset to prevent computation of the natbib-style label.
2879
2880         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2881         templates are all set up.
2882
2883         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2884
2885 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2886
2887         * text.C: fixed an "oops" in the "is a bit silly"
2888         bug fix
2889
2890 2003-10-21  André Pönitz  <poenitz@gmx.net>
2891
2892         * FuncStatus.[Ch]: small stuff, whitespace
2893
2894         * lyxfont.[Ch]: operator<<() for debug reasons
2895
2896         * lyxfunc.C:
2897         * lyxrow_funcs.C:
2898         * lyxtext.h: whitespace, spelling
2899
2900         * paragraph.C: naming of variables
2901
2902         * text.C:
2903         * text2.C: small stuff
2904
2905
2906 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2907
2908         * text.C: (1) finish off the inset display() work;
2909         (2) fix the "is a bit silly" bug (accessing char
2910         past end of par).
2911
2912 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2913
2914         * text.C: re-introduce display() for insets, fixing the
2915         various bugs (stretch of line above, math inset
2916         positioning, ...)
2917
2918 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2919
2920         * text.C (rightMargin): remove spurious semicolon
2921
2922         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2923         1415)
2924
2925 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2926
2927         * text3.C: fix one crash due to wrong cursor def
2928
2929 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2930
2931         * vc-backend.C (scanMaster): make the regex static
2932
2933         * LaTeX.C (scanAuxFile): make the regexs static
2934
2935         * text3.C (doInsertInset, dispatch, dispatch):
2936         * text2.C (cursorUp, cursorDown):
2937         * text.C (selectNextWordToSpellcheck):
2938         * BufferView_pimpl.C (dispatch):
2939         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2940
2941 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2942
2943         * lyxsocket.C: include <cerrno>
2944
2945 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2946
2947         * lyxfunc.C (dispatch): remove textcache stuff
2948
2949         * bufferlist.C (release): remove textcache stuff
2950         (closeAll): ditto
2951
2952         * TextCache.C: delete file
2953         * TextCache.h: delete file
2954
2955         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2956
2957         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2958         delete of the bv_->text.
2959         (resizeCurrentBuffer): remove texcache stuff
2960         (workAreaResize): ditto
2961
2962 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2963
2964         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2965         action.
2966
2967 2003-10-16  André Pönitz  <poenitz@gmx.net>
2968
2969         * lyxrow.[Ch]:
2970         * paragraph.h:
2971         * rowpainter.C:
2972         * text.C:
2973         * text2.C:
2974         * text3.C: speed up by storing y positions per paragraph plus per-row
2975         offset instead of having a 'full' y position in the row.
2976
2977 2003-10-15  André Pönitz  <poenitz@gmx.net>
2978
2979         * iterators.[Ch]:
2980         * iterators.[Ch]:
2981         * undo.[Ch]: make undo aware of inner insets
2982
2983 2003-10-14  Angus Leeming  <leeming@lyx.org>
2984
2985         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2986         static member functions LyX::ref() and LyX::cref.
2987         (lastfiles): new accessor functions for the new lastfiles_ member var.
2988         (addLyXView, views_): add a new LyXView to the list of views_.
2989         (updateInset): loop over all LyXViews to call their own updateInset
2990         member function, returning a pointer to the Buffer owning the inset.
2991
2992         * BufferView_pimpl.C (loadLyXFile):
2993         * MenuBackend.C (expandLastfiles):
2994         * bufferlist.C (MenuWrite, QuitLyX):
2995         lastfiles is no longer a global variable.
2996         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2997
2998         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2999         static function. Access through LyX::cref().emergencyCleanup().
3000
3001 2003-10-14  André Pönitz  <poenitz@gmx.net>
3002
3003         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3004
3005         * undo.[Ch]: restoring part of 'undo in insets'
3006
3007         * Makefile.am:
3008         * undo_funcs.[Ch]: merge with undo.[Ch]
3009
3010         * tabular.C: small cleansing stuff
3011
3012 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3013
3014         * paragraph_funcs.C (readParToken): report unknown insets as error
3015         boxes. Use the outer paragraph as location (also for unknown
3016         tokens).
3017
3018         * factory.C (readInset): do not abort on reading an unknown inset.
3019         Eat it and return 0.
3020
3021 2003-10-13  Angus Leeming  <leeming@lyx.org>
3022
3023         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3024
3025         * lyxrc.C: displayTranslator is now a function,
3026         declared in GraphicsTypes.h.
3027
3028 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3029
3030         * format.C: new placeholder $$a to pass the socket address.
3031
3032         * bufferlist.[Ch]: new function getBufferFromTmp.
3033
3034         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3035           files in the temporary dir.
3036
3037 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3038
3039         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3040
3041         * Makefile.am: add lyxsocket.[Ch].
3042
3043         * lyx_main.C (error_handler): handle SIGPIPE.
3044
3045 2003-10-13  André Pönitz  <poenitz@gmx.net>
3046
3047         * BufferView_pimpl.C:
3048         * lyxtext.h:
3049         * text.C:
3050         * text2.C:
3051         * text3.C:
3052         * undo_funcs.[Ch]: use paroffset_type instead of
3053           ParagraphList::iterators to prevent multiple conversion
3054           (and get a more robust interface)
3055
3056 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3057
3058         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3059         * lyxtext.h: ditto
3060         * text3.C (dispatch): ditto
3061
3062 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3063
3064         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3065         move the onlyfile, use onlyfile instead of foundfile in a couple
3066         of places.
3067
3068         * DepTable.C (update): flush the error stream a bit more
3069
3070 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3071
3072         * lyxserver.C (callback): adjust
3073
3074         * lyxfunc.C (getStatus): add a missing brace in commented code
3075         (ensureBufferClean): reindent
3076         (dispatch): delete version taking a string
3077
3078 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3079
3080         * LaTeX.C (deplog): move found file handlig from here...
3081         (handleFoundFile): .. to new function here.
3082         (deplog): make sure to discover several files mentioned on the
3083         same log line.
3084
3085 2003-10-10  André Pönitz  <poenitz@gmx.net>
3086
3087         * lyxfunc.C:
3088         * lyxtext.h:
3089         * tabular.C:
3090         * text.C:
3091         * text2.C:
3092         * text3.C: fix some of the tabular crashes
3093
3094 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3095
3096         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3097
3098         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3099
3100 2003-10-09  André Pönitz  <poenitz@gmx.net>
3101
3102         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3103
3104         * BufferView.C:
3105         * BufferView_pimpl.C:
3106         * bufferview_funcs.C:
3107         * lyx_cb.C:
3108         * lyxcursor.C:
3109         * lyxfind.C:
3110         * lyxfunc.C:
3111         * lyxtext.h:
3112         * text.C:
3113         * text2.C:
3114         * text3.C:
3115         * text_funcs.[Ch]:
3116         * textcursor.[Ch]:
3117         * undo_funcs.C: adjust
3118
3119 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3120
3121         * text2.C (incrementItemDepth): new function, use a backtracking
3122         algorithm to discover the correct item depth.
3123         (resetEnumCounterIfNeeded): new function, use a backtracking
3124         algorithm to discover if counter reset is needed.
3125         (setCounter): use them. Simplify a bit. Add different labels for
3126         different item depths for itemize.
3127
3128         * paragraph.C (Paragraph): remove initialization of enumdepth
3129         (operator=): ditto
3130
3131         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3132         enumerate and itemize. Change the type of itemdepth to signed char.
3133
3134 2003-10-08  André Pönitz  <poenitz@gmx.net>
3135
3136         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3137           thing assignable.
3138         * text.C:
3139         * text2.C: adjust
3140
3141         * tabular.[Ch]: fix crash after 'row-insert'
3142
3143 2003-10-08  Angus Leeming  <leeming@lyx.org>
3144
3145         Fix doxygen warnings.
3146
3147         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3148         Remove CutAndPaste:: prefix from header file declaration.
3149
3150         * LColor.h (fill): remove LColor:: prefix from declaration.
3151
3152         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3153         use lyx::depth_type rather than Paragraph::depth_type so that
3154         header file and .C file match.
3155
3156         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3157
3158         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3159         * aspell.C: \file aspell_local.C -> \file aspell.C
3160         * gettext.C: \file gettext.C -> \file src/gettext.C
3161         * gettext.h: \file gettext.h -> \file src/gettext.h
3162         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3163         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3164         * text.C: \file text.C -> \file src/text.C
3165
3166         * toc.C: move comment so that doxygen is not confused.
3167
3168 2003-10-07  Angus Leeming  <leeming@lyx.org>
3169
3170         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3171
3172 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3173
3174         * aspell.C:
3175         * aspell_local.h: add forgotten std::string's.
3176
3177 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3178
3179         * LaTeXFeatures.C:
3180         * LyXAction.C:
3181         * factory.C:
3182         * lfuns.h:
3183         * lyxfunc.C:
3184         * text3.C: The Box patch. Fancybox support, minipage, parbox
3185
3186 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3187
3188         * CutAndPaste.h:
3189         * DepTable.h:
3190         * FloatList.h:
3191         * LaTeXFeatures.h:
3192         * ParagraphParameters.h:
3193         * TextCache.h:
3194         * Thesaurus.h:
3195         * bufferlist.h:
3196         * exporter.h:
3197         * importer.h:
3198         * lastfiles.h:
3199         * lyxfind.h:
3200         * lyxfont.h:
3201         * lyxlex.h:
3202         * lyxtextclasslist.h:
3203         * messages.h:
3204         * paragraph.h:
3205         * paragraph_pimpl.C:
3206         * textcursor.h: add <string> and other small fixes to make Lars'
3207         std::string patch compile with STLport.
3208
3209 2003-10-06  Angus Leeming  <leeming@lyx.org>
3210
3211         * LColor.h: Add missing #include <string>.
3212
3213 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3214
3215         * All most all file in all subdirs: Make <string> be the prefered
3216         way of getting to std::string, add using declarations.
3217
3218 2003-10-06  André Pönitz  <poenitz@gmx.net>
3219
3220         * metricsinfo.C: initialize LyXFont before changing attribute.
3221         (fixes the 'math in \emph is upright' bug)
3222
3223 2003-10-06  André Pönitz  <poenitz@gmx.net>
3224
3225         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3226
3227 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3228
3229         * graph.C:
3230         * paragraph_pimpl.C: Small fixes to build using STLport
3231
3232 2003-10-02  André Pönitz  <poenitz@gmx.net>
3233
3234         * lyxfunc.C:
3235         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3236
3237 2003-10-01  André Pönitz  <poenitz@gmx.net>
3238
3239         * factory.C: assert early
3240
3241 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3242
3243         * lyx_main.C: remove the global debug object
3244
3245         * debug.h: adjust for new debugstream
3246
3247         * debug.C: adjust for new debugstream and keep the global debug
3248         object here.
3249
3250 2003-09-22  Angus Leeming  <leeming@lyx.org>
3251
3252         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3253         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3254         an incomplete class LyXFont.
3255
3256 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3257
3258         * factory.C: bug fix in branches
3259
3260 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3261
3262         * lyxfunc.C (processKeySym): adjust
3263         (dispatch): adjust
3264         (dispatch): change arg name from ev to func, adjust
3265         (sendDispatchMessage): ditto
3266
3267         * lyx_main.C (defaultKeyBindings): adjust keybindings
3268         (deadKeyBindings): ditto
3269
3270         * kbsequence.C (addkey): return a FuncRequest
3271
3272         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3273
3274         * kbmap.C (bind): take a FuncRequest as arg, adjust
3275         (read): adjust
3276         (lookup): adjust
3277         (defkey): change to take a FuncRequest as arg, adjust
3278         (findbinding): take a FuncRequest as arg, adjust.
3279
3280         * funcrequest.h (operator=): added
3281
3282         * funcrequest.C (FuncRequest): default kb_action changed from
3283         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3284
3285         * buffer.C (dispatch): simplify
3286         (dispatch): adjust to take a FuncRequest as arg, adjust
3287
3288         * boost.C (assertion_failed): change assertion message slightly
3289
3290         * ToolbarBackend.C (read): simplify
3291
3292         * MenuBackend.C (binding): adjust call to findbinding, add a
3293         message if no binding is found.
3294         (read): simplify
3295         (expandToc): correct by adding a empty FuncRequest
3296
3297         * LyXAction.C: include <boost/assert.hpp>
3298         (isPseudoAction): delete function
3299         (LookupFunc): change name to...
3300         (lookupFunc): this. change return type to FuncRequest.
3301         (getActionName): take kb_action as arg, simplify
3302         (funcHasFlag): add an assert, simplify.
3303
3304 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * toc.C (action): return a FuncRequest, simplify
3307
3308         * lyxfunc.C (processKeySym): adjust
3309         (getStatus): delete version that takes an int.
3310         (getStatus): adjust
3311         (dispatch): delete version that takes action as int
3312         (dispatch): adjust
3313         (sendDispatchMessage): simplify and adjust
3314
3315         * funcrequest.C (getArg): take unsigned int as arg
3316
3317         * ToolbarBackend.C (read): adjust
3318         (add): delete version that takes func as a string.
3319         (getIton): take a FuncRequest as arg
3320
3321         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3322         action.
3323
3324         * MenuBackend.C (MenuItem): add a new construct that only takes a
3325         Kind, simplify the constructor use for submenus.
3326         (add): adjust
3327         (expandLastfiles): adjust
3328         (expandDocuments): adjust
3329         (expandFormats): adjust
3330         (expandFloatListInsert): adjust
3331         (expandFloatInsert): adjust
3332         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3333
3334         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3335         Remove class variables lyx_pseudo_map and lyx_arg_map
3336
3337         * LyXAction.C (searchActionArg): delete function
3338         (getPseudoAction): delete function
3339         (retrieveActionArg): delete function
3340         (LookupFunc): make it return kb_action, simplify.
3341         (getActionName): simplify
3342
3343         * factory.C (createInset): fix new bug
3344
3345 2003-09-19  Angus Leeming  <leeming@lyx.org>
3346
3347         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3348         masterFilename_ parameter in the include inset.
3349
3350         * factory.C (createInset): changes due to the changes to InsetInclude.
3351
3352 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3353
3354         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3355
3356 2003-09-18  Angus Leeming  <leeming@lyx.org>
3357
3358         * buffer.C:
3359         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3360         Inset::fillWithBibKeys.
3361         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3362
3363 2003-09-18  Angus Leeming  <leeming@lyx.org>
3364
3365         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3366         variables.
3367         (ctor): pass and store a 'Buffer const &'
3368         (buffer): new member function.
3369
3370         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3371         '*this' to the LaTeXFeatures ctor.
3372
3373 2003-09-18  Angus Leeming  <leeming@lyx.org>
3374
3375         * LColor.h:
3376         * lyxfont.C:
3377         * lyxfont.h:
3378         * lyxtext.h:
3379         * text.C: rename EnumLColor as LColor_color.
3380
3381 2003-09-18  Angus Leeming  <leeming@lyx.org>
3382
3383         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3384         remove #include "insets/insetbase.h" from cursor.h.
3385
3386 2003-09-18  Angus Leeming  <leeming@lyx.org>
3387
3388         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3389         InsetOld_code to remove #include "inset.h".
3390
3391         * iterators.C: add #include "insets/inset.h"
3392
3393 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3394
3395         * BufferView.C: remove more locking stuff that apparently doesn't
3396         do anything sensible.
3397
3398 2003-09-16  André Pönitz  <poenitz@gmx.net>
3399
3400         * paragraph.[Ch]:
3401         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3402           performance boost.
3403
3404 2003-09-16  Angus Leeming  <leeming@lyx.org>
3405
3406         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3407
3408         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3409         arg/return type.
3410
3411         * paragraph.h: remove #include "lyxfont.h". Forward declare
3412         LyXFont_size.
3413
3414 2003-09-16  Angus Leeming  <leeming@lyx.org>
3415
3416         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3417         of support/textutils.h.
3418         (isWord): move the contents of support/textutils.h's IsWordChar here.
3419
3420         * buffer.C:
3421         * lyxfind.C:
3422         * rowpainter.C:
3423         * text.C:
3424         * text2.C: add #include "paragraph.h".
3425
3426         * rowpainter.C:
3427         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3428
3429 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3430
3431         * main.C:
3432         * lyx_main.C:
3433         * lyx_cb.C:
3434         * buffer.C:
3435         * LaTeX.C: use namespace alias for lyx::support::os
3436
3437 2003-09-16  Angus Leeming  <leeming@lyx.org>
3438
3439         * bufferparams.C:
3440         * bufferview_funcs.C:
3441         * factory.C:
3442         * lyxfunc.C:
3443         * paragraph_pimpl.C:
3444         * rowpainter.C:
3445         * text.C: add #include "LColor.h".
3446
3447 2003-09-16  Angus Leeming  <leeming@lyx.org>
3448
3449         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3450         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3451         return LyXFont &.
3452         Store the FontBits::color variable as an int rather than as an
3453         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3454         file.
3455
3456         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3457         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3458         string calls together.
3459
3460         * lyxrc.C: add #include "LColor.h".
3461
3462 2003-09-15  Angus Leeming  <leeming@lyx.org>
3463
3464         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3465         a cow_ptr.
3466
3467 2003-09-15  Angus Leeming  <leeming@lyx.org>
3468
3469         * LColor.h: add an EnumLColor wrapper for LColor::color.
3470
3471         * lyxfont.[Ch] (color, setColor, realColor):
3472         * lyxtext.h, text.C (backgroundColor):
3473         pass EnumLColor args to/from the functions, rather than LColor::color
3474         ones.
3475
3476         * lyxfont.h:
3477         * lyxtext.h: forward declare EnumLColor.
3478
3479         * lyx_main.C: add #include "LColor.h".
3480
3481 2003-09-15  Angus Leeming  <leeming@lyx.org>
3482
3483         * .cvsignore: add lyx-gtk.
3484
3485 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3486
3487         * Chktex.C
3488         * LaTeX.C
3489         * LaTeXFeatures.C
3490         * ParagraphParameters.C
3491         * Spacing.C
3492         * buffer.C
3493         * bufferparams.C
3494         * bufferview_funcs.C
3495         * chset.C
3496         * counters.C
3497         * funcrequest.C
3498         * lyxfont.C
3499         * lyxgluelength.C
3500         * lyxlength.C
3501         * paragraph.C
3502         * paragraph_funcs.C
3503         * text3.C
3504         * vc-backend.C: remove usage of STRCONV
3505
3506 2003-09-15  Angus Leeming  <leeming@lyx.org>
3507
3508         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3509         explicitly define the color passed to the painter.
3510
3511 2003-09-15  Angus Leeming  <leeming@lyx.org>
3512
3513         * bufferparams.C (BufferParams): reorder member initializers to avoid
3514         compiler warning.
3515
3516 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3517
3518         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3519         * text.C (updateRowPositions): remove an unusual nop
3520
3521 2003-09-12  André Pönitz  <poenitz@gmx.net>
3522
3523         * BufferView_pimpl.C:
3524         * Bullet.C:
3525         * layout.h:
3526         * lyxfunc.C:
3527         * lyxlayout.[Ch]:
3528         * lyxtextclass.C:
3529         * rowpainter.C:
3530         * text.C:
3531         * text2.C:
3532         * Counters.[Ch]: finish the 'automatic counters' job
3533
3534 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3535
3536         * aspell.C: include <boost/assert.cpp> (compile fix)
3537
3538 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3539
3540         * boost.C (assertion_failed): use lyx::support::abort instead of
3541         assert.
3542
3543 2003-09-10  Angus Leeming  <leeming@lyx.org>
3544
3545         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3546         with their _fwd progeny.
3547
3548 2003-09-09  Angus Leeming  <leeming@lyx.org>
3549
3550         134 files throughtout the source tree: replace 'using namespace abc;'
3551         directives with the appropriate 'using abc::xyz;' declarations.
3552
3553 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3554
3555         * boost.C (emergencyCleanup): moved here from LAssert.c
3556         (assertion_failed): new function, called by BOOST_ASSERT
3557
3558         * several files: change Assert to BOOST_ASSERT
3559
3560 2003-09-09  Angus Leeming  <leeming@lyx.org>
3561
3562         * buffer.[Ch]: Add an Impl class and move Buffer's member
3563         variables into it. As a result move several header files out of
3564         buffer.h.
3565
3566         Add header files to lots of .C files all over the tree as a result.
3567
3568 2003-09-09  Angus Leeming  <leeming@lyx.org>
3569
3570         * buffer.[Ch]: make Buffer's member variables private. Add
3571         accessor functions.
3572
3573         Lots of changes all over the tree as a result.
3574
3575 2003-09-08  Angus Leeming  <leeming@lyx.org>
3576
3577         * graph.C: #include <config.h>.
3578
3579 2003-09-08  Angus Leeming  <leeming@lyx.org>
3580
3581         * BranchList.C:
3582         * BufferView.C:
3583         * BufferView_pimpl.C:
3584         * CutAndPaste.C:
3585         * DepTable.C:
3586         * LaTeX.C:
3587         * LaTeXFeatures.C:
3588         * LyXAction.C:
3589         * MenuBackend.C:
3590         * TextCache.C:
3591         * aspell.C:
3592         * buffer.C:
3593         * bufferlist.C:
3594         * changes.C:
3595         * chset.C:
3596         * converter.C:
3597         * counters.C:
3598         * debug.C:
3599         * graph.C:
3600         * ispell.C:
3601         * lyx_cb.C:
3602         * lyxfind.C:
3603         * lyxfunc.C:
3604         * lyxlex_pimpl.C:
3605         * lyxrc.C:
3606         * lyxrow.C:
3607         * paragraph.C:
3608         * rowpainter.C:
3609         * texrow.C:
3610         * text.C:
3611         * text2.C:
3612         * toc.C: remove redundant using directives.
3613
3614 2003-09-07  Angus Leeming  <leeming@lyx.org>
3615
3616         * LaTeXFeatures.h: remove #include "support/types.h".
3617         * ToolbarBackend.h: remove #include <algorithm>.
3618         * changes.h: remove #include <ctime>.
3619         * debug.h: remove #include <iosfwd>.
3620         * graph.h: remove #include "support/std_string.h".
3621         * lyx_main.h: remove #include <csignal>.
3622         * lyxlex_pimpl.h: remove #include <fstream>.
3623         * sgml.h: remove #include <algorithm>, <utility>.
3624         * toc.h: remove #include "support/std_ostream.h".
3625         Add #include <iosfwd>.
3626
3627 2003-09-07  Angus Leeming  <leeming@lyx.org>
3628
3629         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3630
3631         * converter.h: forward declare LatexRunParams.
3632         * encoding.h: remove #include "lyxrc.h".
3633         * lyxtext.h: remove #include "LColor.h".
3634         * lyxtextclass.h: remove #include "support/types.h".
3635         * trans.h: remove #include "tex-accent.h".
3636         * trans_mgr.h: remove #include "tex-accent.h".
3637         * insets/inset.h: remove #include "support/types.h", <vector>.
3638         * insets/insetcollapsable.h: remove #include "LColor.h".
3639         * insets/insetinclude.h: remove #include "dimension.h".
3640         * insets/insetlatexaccent.h: remove #include "dimension.h".
3641         * insets/insetoptarg.h:: remove #include "insettext.h".
3642         * insets/insettext.h: remove #include "dimension.h",
3643         <boost/shared_ptr.hpp>
3644
3645         * insets/renderers.h: add #include "dimension.h".
3646         * insets/updatableinset.h: add #include "support/types.h".
3647
3648         * many .C files: Associated changes.
3649
3650 2003-09-06  Angus Leeming  <leeming@lyx.org>
3651
3652         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3653         one, inside testInvariant.
3654
3655         * PrinterParams.C: new file.
3656         * PrinterParams.[Ch]: move the function bodies out of line.
3657
3658 2003-09-06  Angus Leeming  <leeming@lyx.org>
3659
3660         * ParagraphParameters.h: forward declare ParameterStruct rather than
3661         including its header file.
3662         (depth): moved out-of-line.
3663
3664 2003-09-06  Angus Leeming  <leeming@lyx.org>
3665
3666         * BufferView_pimpl.h:
3667         * kbmap.h:
3668         * kbsequence.h:
3669         * lyxfunc.h: forward declare LyXKeySym rather than
3670         #include "frontends/LyXKeySym.h".
3671
3672         * BufferView_pimpl.C:
3673         * kbmap.C:
3674         * kbsequence.C:
3675         * lyxfunc.C: associated changes.
3676
3677 2003-09-06  Angus Leeming  <leeming@lyx.org>
3678
3679         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3680         As a result, can remove the #include "insets/inset.h" from BufferView.h
3681
3682 2003-09-06  Angus Leeming  <leeming@lyx.org>
3683
3684         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3685         As a result, can remove the #include "insets/inset.h" from BufferView.h
3686
3687 2003-09-06  Angus Leeming  <leeming@lyx.org>
3688
3689         * buffer_funcs.C:
3690         * buffer.h:
3691         * bufferlist.C:
3692         * BufferView.C:
3693         * bufferview_funcs.C:
3694         * BufferView_pimpl.C:
3695         * CutAndPaste.C:
3696         * lyx_cb.C:
3697         * lyxfunc.C:
3698         * paragraph.h:
3699         * ParagraphParameters.C:
3700         * tabular.C:
3701         * text3.C:
3702         * toc.C:
3703         * undo_funcs.C:
3704         * frontends/controllers/ControlDocument.C:
3705         * insets/insetcaption.C: rearrange the #includes into some sort of
3706         coherent order.
3707
3708         * buffer.h: remove #includes ErrorList.h, undo.h
3709
3710 2003-09-06  Angus Leeming  <leeming@lyx.org>
3711
3712         * support/types.h: add a 'depth_type' typedef, used to store the
3713         nesting depth of a paragraph.
3714
3715         * paragraph.h:
3716         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3717         defining explicitly.
3718
3719         * buffer.h:
3720         * paragraph_funcs.h:
3721         * ParagraphParameters.h:
3722         * sgml.h: use lyx::depth_type rather than Paragraph or
3723         ParameterStruct's depth_type.
3724
3725         * buffer.h
3726         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3727
3728         * BufferView.C:
3729         * BufferView_pimpl.C:
3730         * CutAndPaste.C:
3731         * ParagraphParameters.C:
3732         * buffer_funcs.C:
3733         * bufferlist.C:
3734         * bufferview_funcs.C:
3735         * lyx_cb.C:
3736         * lyxfunc.C:
3737         * tabular.C:
3738         * text3.C:
3739         * toc.C:
3740         * undo_funcs.C:
3741         * frontends/LyXView.C:
3742         * frontends/controllers/ControlDocument.C:
3743         * frontends/controllers/ControlErrorList.C:
3744         * insets/insetbibitem.C:
3745         * insets/insetbranch.C:
3746         * insets/insetcaption.C:
3747         * insets/insetcollapsable.C:
3748         * insets/insetenv.C:
3749         * insets/insetert.C:
3750         * insets/insetfloat.C:
3751         * insets/insetfoot.C:
3752         * insets/insetfootlike.C:
3753         * insets/insetnewline.C:
3754         * insets/insetquotes.C:
3755         * insets/insettabular.C:
3756         * insets/insettext.C:
3757         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3758
3759         * frontends/controllers/ControlChanges.C: #include "changes.h".
3760
3761 2003-09-06  Angus Leeming  <leeming@lyx.org>
3762
3763         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3764         than #including paragraph.h.
3765
3766         * ParagraphList.h:
3767         * RowList.h: deleted. Superfluous.
3768
3769         * CutAndPaste.h:
3770         * iterators.h:
3771         * lyxcursor.h:
3772         * lyxtext.h:
3773         * text_funcs.h:
3774         * undo.h:
3775         * undo_funcs.h:
3776         * insets/inset.h:
3777         * insets/insettext.h: use ParagraphList_fwd.h rather than
3778         ParagraphList.h.
3779
3780         * paragraph.h: don't forward declare ParagraphList.
3781
3782         * buffer.h:
3783         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3784         rather than ParagraphList.h. paragraph.h is still needed for the
3785         Paragraph::depth_type parameters.
3786
3787         * textcursor.h: enable it to compile stand-alone in light of the
3788         above changes.
3789
3790         * bufferview_funcs.C:
3791         * iterators.C:
3792         * lyxfunc.C:
3793         * lyxrow_funcs.C:
3794         * paragraph.C:
3795         * rowpainter.C:
3796         * text.C:
3797         * text2.C:
3798         * text3.C:
3799         * text_funcs.C:
3800         * textcursor.C:
3801         * undo.C:
3802         * frontends/controllers/ControlParagraph.C:
3803         * frontends/controllers/ControlTabular.C:
3804         * insets/insetmarginal.C:
3805         * insets/insetminipage.C:
3806         * insets/insetnote.C:
3807         * insets/insetoptarg.C: add header files needed to compile again.
3808
3809 2003-09-06  Angus Leeming  <leeming@lyx.org>
3810
3811         * RowList_fwd.h: new file, forward-declaring Row rather than
3812         #including lyxrow.h.
3813
3814         * lyxrow_funcs.h:
3815         * lyxtext.h:
3816         * paragraph.h:
3817         * insets/insettext.h: use it instead of RowList.h
3818
3819         * bufferview_funcs.C:
3820         * lyxfunc.C:
3821         * lyxrow_funcs.C:
3822         * paragraph.C:
3823         * rowpainter.C:
3824         * text.C:
3825         * text2.C:
3826         * text3.C: #include "RowList.h".
3827
3828 2003-09-05  Angus Leeming  <leeming@lyx.org>
3829
3830         * factory.C (createInset):
3831         * vspace.C (c-tor): replace sscanf call with an istringstream.
3832         * ispell.C: re-add missing HP/UX headers.
3833         * lyxserver.C: re-add missing  os2 headers.
3834
3835 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3836
3837         * BranchList.C:
3838         * graph.C:
3839         * ispell.C:
3840         * lastfiles.C:
3841         * lyx_cb.C:
3842         * lyxserver.C:
3843         * texrow.C:
3844         * text3.C: re-add missing system headers, needed for 2.95.2.
3845
3846 2003-09-05  Angus Leeming  <leeming@lyx.org>
3847
3848         Changes most place everywhere due to the removal of using directives
3849         from support/std_sstream.h.
3850
3851 2003-09-05  Angus Leeming  <leeming@lyx.org>
3852
3853         Replace LString.h with support/std_string.h,
3854         Lsstream.h with support/std_sstream.h,
3855         support/LIstream.h with support/std_istream.h,
3856         support/LOstream.h with support/std_ostream.h.
3857
3858         Changes resulting throughout the tree.
3859
3860 2003-09-05  Angus Leeming  <leeming@lyx.org>
3861
3862         * sgml.h: ensure that the header file can be compiled stand-alone.
3863         * *.C: strip out redundant #includes. (320 in total.)
3864
3865 2003-09-04  Angus Leeming  <leeming@lyx.org>
3866
3867         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3868         here (from getPackages).
3869
3870         * debug.[Ch]: add a new EXTERNAL tag.
3871
3872 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3873
3874         * text2.C (cursorEnd): simplify
3875         (setCursor): adjust
3876         (getColumnNearX): adjust
3877
3878         * text.C (computeBidiTables): adjust
3879         (fill): adjust
3880
3881         * rowpainter.C (paintChars): adjust
3882         (paintSelection): adjust
3883         (paintChangeBar): adjust
3884         (paintText): adjust
3885
3886         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3887         lastPos instead.
3888         (numberOfSeparators): adjust
3889
3890 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3891
3892         * LyXAction.C:
3893         * box.[Ch]:
3894         * lfuns.h:
3895         * lyxfunc.C:
3896         * text3.C: Restricts the mouse click functionality
3897         of insets like bibtex, include, toc and floatlist to the visible
3898         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3899         up the dialogs. Cursor has to be in front of the inset (i.e.
3900         start of row) for this to function.
3901
3902 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3903
3904         * bufferview_funcs.C (currentState): output row information
3905
3906 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3907
3908         * bufferview_funcs.C (currentState): output paragraph position
3909
3910 2003-09-04  Angus Leeming  <leeming@lyx.org>
3911
3912         * FloatList.h: move out #include "Floating.h".
3913         * LaTeX.h: move out #include "DepTable.h".
3914         * LyXAction.h: move out #include "funcrequest.h".
3915         * buffer.h: move out #include "author.h", "iterators.h".
3916         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3917         * lyx_main.h: move out #include "errorlist.h".
3918         * lyxfunc.h: move out #include "FuncStatus.h".
3919         * lyxtext: move out #include "lyxcursor.h".
3920         * paragraph_pimpl.h: move out #include "counters.h".
3921
3922 2003-09-03  Angus Leeming  <leeming@lyx.org>
3923
3924         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3925         preamble_snippets list, enabling us to add snippets to the preamble
3926         only if the snippet was not there already.
3927
3928 2003-09-04  Angus Leeming  <leeming@lyx.org>
3929
3930         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3931
3932 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3935         update
3936
3937 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3938
3939         * BranchList.C: point fix, earlier forgotten
3940
3941 2003-09-02  Angus Leeming  <leeming@lyx.org>
3942
3943         * box.C (contains): renamed from 'contained' after a fantastic
3944         amount of hot air.
3945
3946 2003-09-02  John Levon  <levon@movementarian.org>
3947
3948         * BufferView.C:
3949         * lyxcursor.h:
3950         * lyxcursor.C:
3951         * lyxfunc.C:
3952         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3953
3954 2003-09-02  John Levon  <levon@movementarian.org>
3955
3956         * text2.C: simplification of cursorEnd(), including partial
3957         fix for bug 1376
3958
3959 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * buffer.C (readFile): add a space
3962
3963 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3964
3965         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3966
3967 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * buffer.C (readFile): new function, take a filename and a
3970         ParagraphList::iterator
3971         (readFile): adjust
3972         (readFile): adjust, make it private. don't use setStream, make
3973         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3974         always contain the filename.
3975
3976         * BufferView.C (insertLyXFile): simplify and make it work for
3977         gzipped files.
3978
3979 2003-08-30  John Levon  <levon@movementarian.org>
3980
3981         * Makefile.am: fix dist (from Kayvan)
3982
3983 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3984
3985         * most files: change to use const Buffer refs
3986
3987 2003-08-27  André Pönitz  <poenitz@gmx.net>
3988
3989         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3990         on top of ownerPar().
3991
3992 2003-08-27  John Levon  <levon@movementarian.org>
3993
3994         * funcrequest.C: properly initialise POD members
3995
3996 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3997
3998         * lyxtext.h (top_y): move top_y from here
3999         * text.C:
4000         * text2.C:
4001         * text3.C:
4002         * BufferView.[Ch]:
4003         * BufferView_pimpl.[Ch]: to here
4004         * frontends/screen.C:
4005         * insets/insettabular.C:
4006         * insets/insettext.C: adjust
4007         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4008
4009 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4010
4011         * BufferView.[Ch]:
4012         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4013
4014 2003-08-26  André Pönitz  <poenitz@gmx.net>
4015
4016         * paragraph_func.[Ch] (outerPar): new function
4017
4018         * paragraph.C:
4019         * paragraph_funcs.C:
4020         * paragraph_funcs.h:
4021         * paragraph_pimpl.C:
4022         * text2.C: remove Inset::par_owner
4023
4024 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4025
4026         * lyxrow_funcs.C:
4027         * lyxtext.h:
4028         * text.C:
4029         * text2.C: eliminates the needFullRow/display() stuff
4030         altogether, putting the logic in metrics/draw in the insets.
4031
4032 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4033
4034         * text2.C (redoParagraphInternal, redoParagraphs):
4035         * text.C (redoParagraph): add a call to updateRowPositions at the
4036         end of each 'metrics-like' call. Remove all others.
4037         (getRow): remove the 'y-computing' version.
4038         (getRowNearY): do not compute nor return the real y. Solve the
4039         'y < 0' problem and simplify.
4040
4041 2003-08-22  Angus Leeming  <leeming@lyx.org>
4042
4043         * *.[Ch]: clean-up of licence and author blurbs.
4044         Also move config.h out of a few .h files and into a few .C files.
4045
4046 2003-08-22  André Pönitz  <poenitz@gmx.net>
4047
4048         * lyxrow.[Ch]: add x_ and *fill_ members
4049
4050         * lyxtext.h:
4051         * text.C:
4052         * rowpainter.C:
4053         * text2.C: adjust/remove prepareToPrint() calls
4054
4055 2003-08-22  André Pönitz  <poenitz@gmx.net>
4056
4057         * lyxrow.[Ch]: add  end_ member
4058
4059         * lyxrow_funcs.C: use LyXRow::end_
4060
4061         * lyxtext.h (singleWidth): add LyXFont parameter
4062
4063         * rowpainter.C:
4064         * text2.C: adjust LyXText::singleWidth() calls
4065
4066         * text.C (redoParagraph): simplify row breaking logic
4067
4068
4069 2003-08-19  André Pönitz  <poenitz@gmx.net>
4070
4071         * funcrequest.C: initialize button_ member
4072
4073         * text3.C:
4074         * rowpainter.[Ch]: interface consolidation
4075
4076 2003-08-18  André Pönitz  <poenitz@gmx.net>
4077
4078         * BufferView.C:
4079         * BufferView_pimpl.C:
4080         * lyxfind.C:
4081         * paragraph_funcs.C:
4082         * rowpainter.C:
4083         * text3.C: remove LyXScreen::draw() and fitCursor calls
4084
4085         * BranchList.h: remove spurious semicolons
4086
4087         * MenuBackend.C: fix branchlist related crash
4088
4089 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4090
4091         * BranchList.[Ch]:
4092         * InsetList.[Ch]:
4093         * LColor.[Ch]:
4094         * LyXAction.C:
4095         * Makefile.am:
4096         * MenuBackend.[Ch]:
4097         * bufferparams.[Ch]:
4098         * factory.C:
4099         * lfuns.h:
4100         * lyxfunc.C:
4101         * text3.C: implements the 'branch inset'
4102         idea. This allows the output of various versions of a document
4103         from a single source version, selectively outputing or suppressing
4104         output of parts of the text.
4105         This implementation contains a 'branch list editor' in a separate
4106         tab of the document settings dialog. Branches are user definable
4107         and have a "display colour" to distinguish them on-screen.
4108
4109         ColorHandler was somewhat cleaned up.
4110         (1) make possible a dynamically growing LColor list by allowing
4111         the graphic context cache to grow along (vector);
4112         (2) eliminate an IMHO unnecessary step in colour allocation.
4113
4114 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4115
4116         * BufferView_pimpl.C: compile fix
4117
4118 2003-08-15  André Pönitz  <poenitz@gmx.net>
4119
4120         * rowpainter.C: remove extra metrics calls
4121
4122         * lyxtext.h: merge the two constructors into a single one,
4123           pass reference to owner's par list
4124
4125         * BufferView_pimpl.C:
4126         * text.C:
4127         * text2.C: adjust
4128
4129 2003-08-15  André Pönitz  <poenitz@gmx.net>
4130
4131         * lyxrow_funcs.[Ch]:
4132         * lyxtext.h:
4133         * paragraph.h:
4134         * paragraph_funcs.C:
4135         * rowpainter.C:
4136         * text.C:
4137         * text2.C:
4138         * text3.C:
4139         * text_funcs.C: split LyXText::rowlist_ into individual
4140         Paragraph::rows_ chunks
4141
4142         * BufferView.[Ch]:
4143         * BufferView_pimpl.[Ch]:
4144         * lyxfind.C:
4145         * lyxtext.h:
4146         * text3.C: remove toggleSelection()
4147
4148 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4149
4150         * bufferlist.C: beautify two alerts (shorter text of buttons)
4151         * buffer.C: Remove redundant ' ' from message
4152         * tabular.h:
4153         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4154         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4155         rename VALIGN_CENTER to VALIGN_MIDDLE
4156
4157 2003-08-11  André Pönitz  <poenitz@gmx.net>
4158
4159         * lyxtext.h (getPar):
4160         * text.C: new function
4161
4162 2003-08-11  André Pönitz  <poenitz@gmx.net>
4163
4164         * Makefile.am:
4165         * tracer.[Ch]: remove unneeded files
4166
4167         * InsetList.[Ch]: remove resizeInsetsLyXText()
4168
4169         * lyxtext.h:
4170         * text.C:
4171         * text2.C:
4172         * text3.C: merge insertParagraphs() and appendParagraph()
4173         remove breakAgain(), update()
4174
4175         * BufferView_pimpl.[Ch]:
4176         * bufferview_funcs.[Ch]:
4177         * lyxfunc.C:
4178         * paragraph.[Ch]:
4179         * rowpainter.C:
4180         * tabular.C: adjust after text & InsetList changes.
4181
4182 2003-08-08  André Pönitz  <poenitz@gmx.net>
4183
4184         * text.C (insertChar, backspace): replace rowlist fiddling
4185         with rebreak of full par
4186
4187         * lyxtext.h:
4188         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4189         checkParagraph, updateInset): removed
4190
4191 2003-08-07  André Pönitz  <poenitz@gmx.net>
4192
4193         * paragraph.C:
4194         * text3.C: merge some LFUN handlers, remove dead code
4195
4196 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4197
4198         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4199
4200 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4201
4202         * text2.C (DEPM): fix part of bug 1255 and 1256
4203
4204 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4205
4206         * BufferView_pimpl.C (workAreaDispatch): change to use
4207         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4208         that are no mouse related.
4209
4210 2003-08-05  André Pönitz  <poenitz@gmx.net>
4211
4212         * BufferView.[Ch]:
4213         * BufferView_pimpl.[Ch]:
4214         * bufferview_funcs.C:
4215         * text2.C:
4216         * text3.C: rip out "deep update"
4217
4218         * textcursor.[Ch] (last_sel_cursor): remove unused member
4219
4220 2003-08-04  André Pönitz  <poenitz@gmx.net>
4221
4222         * BufferView.[Ch]:
4223         * BufferView_pimpl.[Ch]:
4224         * ParagraphParameters.C:
4225         * bufferview_funcs.C:
4226         * lyx_cb.C:
4227         * lyxfind.C:
4228         * lyxfunc.C:
4229         * text.C:
4230         * text2.C:
4231         * text3.C: replace "complicated" BufferView::update(...) calls with
4232         simpler ones.
4233
4234         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4235
4236 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4237
4238         * Makefile.am (lyx_SOURCES): add paper.h
4239
4240 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4241
4242         * Makefile.am: move things around so that both lyx-qt and
4243         lyx-xforms can be built (according to --with-frontend). Then lyx
4244         is a symbolic link to lyx-[firstfrontend]
4245
4246 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4247
4248         * Always use std::endl with lyxerr
4249
4250 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4251
4252         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4253
4254 2003-08-01  André Pönitz  <poenitz@gmx.net>
4255
4256         * BufferView.[Ch]:
4257         * BufferView_pimpl.[Ch]:
4258         * lyxfunc.C:
4259         * text3.C: merge BufferView::repaint() and BufferView::update()
4260
4261 2003-08-01  José Matos  <jamatos@lyx.org>
4262
4263         * buffer.[Ch]: file_format is no longer a buffer data element.
4264
4265 2003-08-01  André Pönitz  <poenitz@gmx.net>
4266
4267         * BufferView.C:
4268         * lyxtext.h:
4269         * text.C:
4270         * text2.C: make redoParagraph more independent of current cursor
4271
4272         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4273         * text.C:
4274         * text2.C: remove unneeded members
4275
4276 2003-07-30  André Pönitz  <poenitz@gmx.net>
4277
4278         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4279
4280         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4281           create a single function...
4282
4283         * paragraph_funcs.C (moveItem): ... here.
4284
4285         * text.C:
4286           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4287
4288 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4289
4290         * LColor.[Ch]: Add comment and greyedout logical colors.
4291
4292 2003-07-30  André Pönitz  <poenitz@gmx.net>
4293
4294         * tabular.C: don't use Assert too heavily. This crashes where it
4295           shouldn't
4296
4297 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4298
4299         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4300         is disabled (bug 1232)
4301
4302 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4303
4304         * factory.C: limited 'arg' scope
4305
4306 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4307
4308         * factory.C: fixed Note submenu issues
4309
4310 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4311
4312         * factory.C: submenu for Note/Comment/Greyedout
4313
4314 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4315
4316         * lyx_main.C (LyX):
4317         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4318
4319 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4320
4321         * LaTeXFeatures.C:
4322         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4323         greyedout. Patch provided by Jürgen Spitzmüller.
4324
4325 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4326
4327         * kbmap.C (read): fix error message when reading bind files
4328
4329 2003-07-29  Angus Leeming  <leeming@lyx.org>
4330
4331         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4332         certainly does not do what it purports to do. I am doing it, and
4333         us, a favour by killing it.
4334
4335 2003-07-28  José Matos  <jamatos@lyx.org>
4336
4337         * buffer.C (readBody, do_writeFile):
4338         * paragraph.C(readParagraph): \end_document replaces \the_end.
4339
4340 2003-07-29  André Pönitz  <poenitz@gmx.net>
4341
4342         * BufferView.[Ch]:
4343         * BufferView_pimpl.[Ch]:
4344         * lyxfunc.C:
4345         * text2.C:
4346         * text3.C:
4347         * textcursor.[Ch]: remove toggleToggle & Co
4348
4349 2003-07-28  José Matos  <jamatos@fep.up.pt>
4350
4351         * buffer.C (readParagraph):
4352         * params_func (readParToken, readParagraph):
4353         * paragraph.C (write): \layout -> \begin_layout.
4354
4355 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4356
4357         * lyxlex_pimpl.C (setFile): clean up slightly.
4358
4359         * bufferparams.h: add compressed var
4360
4361         * buffer_funcs.C (readFile): adjust for LyXLex change
4362         (newFile): ditto + simplify
4363
4364         * buffer.C (writeFile): handle writing of compressed files
4365
4366         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4367         Check if the file is compressed and set a bufferparm if so.
4368
4369         * Makefile.am (lyx_LDADD): remove explicit -lz
4370
4371 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4372
4373         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4374         makeDocBookFile): put the real LyX version in the first line of
4375         the file
4376
4377         * version.h:
4378         * version.C.in: remove lyx_docversion
4379
4380         * tabular.C (write_attribute): add a template-based version to
4381         write enums properly
4382
4383 2003-07-28  André Pönitz  <poenitz@gmx.net>
4384
4385         * lyxtext.h:
4386         * text.C:
4387         * text2.C:
4388         * text3.C: use doubles again for x-coordinates. They are needed.
4389
4390 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * messages.C (getLocaleDir): use lyx_localedir()
4393
4394         * lyxlex_pimpl.C (setFile): compress stuff
4395
4396         * buffer.C (writeFile): add some compression stuff
4397         (do_writeFile): new func, dont call expliti close... will this
4398         breake anything?
4399
4400         * Makefile.am (lyx_LDADD): add -lz
4401
4402 2003-07-28  José Matos  <jamatos@fep.up.pt>
4403
4404         * buffer.C: increment file format.
4405         * paragraph_funcs (readParagraph, readParToken):
4406         * paragraph.C (readParagraph): add \end_layout.
4407
4408 2003-07-27  Angus Leeming  <leeming@lyx.org>
4409
4410         * Makefile.am: remove special casing for configure-time setting of
4411         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4412
4413         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4414         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4415
4416 2003-07-26  André Pönitz  <poenitz@gmx.net>
4417
4418         * paragraph_func.[Ch]:
4419         * paragraph.C (realizeFont): inline it whereever it is used
4420
4421         * rowpainter.C:
4422         * text.C:
4423         * text2.C:
4424         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4425
4426
4427 2003-07-26  André Pönitz  <poenitz@gmx.net>
4428
4429         *       lyxtext.h:
4430         * text.C:
4431         * text2.C: get rid of LyXText::need_break_row
4432
4433 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * toc.[Ch]: put namespace toc inside namespace lyx
4436
4437         * MenuBackend.C (expandToc2): adjust for lyx::toc
4438         (expandToc): ditto
4439
4440         * lyxfunc.C (dispatch): adjust for lyx::find
4441
4442         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4443         lyx::find instead. Reorganize a bit.
4444         (LyXReplace): rename to replace
4445         (LyXFind): rename to find
4446
4447         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4448         (dispatch): ditto
4449
4450 2003-07-26  André Pönitz  <poenitz@gmx.net>
4451
4452         * text.C (setHeightOfRow): restrict scope of temporary variable
4453
4454         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4455           code (never has been used?)
4456
4457 2003-07-27  Asger Alstrup  <alstrup@local>
4458
4459         * text.C (fill): Optimise algorithm to exploit that we can reuse
4460         the LyXFont for many characters.
4461         (setHeightOfRow): Same thing.
4462         (rowBreakPoint): Same thing.
4463
4464 2003-07-26  Asger Alstrup  <alstrup@local>
4465
4466         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4467
4468         * text.C (singleWidth): Spurious font copying in hot-spot
4469         singleWidth avoided. Reorder tests for arabic for efficiency.
4470
4471         * text.C (fill): handle empty paragraphs better.
4472
4473 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4474
4475         * ispell.C:
4476         * encoding.h: add includes
4477
4478         * lyxrc.C: remove reading of bind files
4479
4480         * lyx_main.C (init): setup bindings and menus only if we have a
4481         gui.
4482
4483         * kbmap.C (read): new method. Do the actual reading of bind
4484         files.
4485
4486         * converter.C (dvipdfm_options):
4487         * bufferparams.C:
4488         * lyxrc.C (read):
4489         (output): adapt PAPER_* enums.
4490
4491         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4492
4493         * bufferparams.h: remove paper-related enums from there
4494
4495         * paper.h: New file. A trivial header file to hold paper-related
4496         enums. It should later expand to contain many paper-related
4497         horrors access.
4498
4499         * lyxrc.C: declare extern displayTranslator
4500
4501 2003-07-27  José Matos  <jamatos@fep.up.pt>
4502
4503         * tabular.[Ch] (linuxdoc): add support for tables and figures
4504         (linuxdoc).
4505
4506 2003-07-27  José Matos  <jamatos@fep.up.pt>
4507
4508         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4509         consistency in both functions.
4510         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4511
4512 2003-07-26  Asger Alstrup  <alstrup@local>
4513
4514         * rowpainter.C (paintRows): Change algorithm to work directly on
4515         the insets rather than asking every character in the document
4516         whether its an inset.
4517
4518 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4519
4520         * buffer.C (openFileWrite): factorize some code
4521
4522 2003-07-26  Angus Leeming  <leeming@lyx.org>
4523
4524         * lyx_cb.C:
4525         * lyx_main.[Ch]: replace occurances of system_tempdir with
4526         os::getTmpDir().
4527
4528 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4529
4530         * rename Inset to InsetOld
4531
4532 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4533
4534         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4535         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4536         which I think is a bit clearer. EDIT is gone, since it was
4537         premature optimisation, and broken for mathed anyway.
4538         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4539         with cursor positioning in insets as well (math insets still do not
4540         work, but that's a different story anyway.) It mysteriously
4541         crashes sometimes with undo in the first paragraph, but I'm fairly
4542         confident that this is a compiler bug.
4543
4544 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4545
4546         * paragraph.C (Paragraph): adjust for new clone return type
4547         (operator==): ditto
4548         (copyIntoMinibuffer): ditto
4549
4550 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4551
4552         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4553         by not having a special case, and always doing a full rebreak of
4554         the document after undo.
4555
4556 2003-07-23  Angus Leeming  <leeming@lyx.org>
4557
4558         * factory.C (createInset): InsetExternal::setParams now takes a
4559         Buffer const * arg.
4560
4561 2003-07-23  Angus Leeming  <leeming@lyx.org>
4562
4563         * factory.C (createInset): changed interface to the external and
4564         graphics mailers' string2params functions.
4565
4566 2003-07-23  Angus Leeming  <leeming@lyx.org>
4567
4568         * factory.C (createInset): pass a
4569         Buffer const * parameter to InsetExternalMailer's string2params.
4570
4571 2003-07-22  John Levon  <levon@movementarian.org>
4572
4573         * Thesaurus.h: include the right aiksaurus header
4574
4575 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4576
4577         * MenuBackend.C (expand): check menu shortcuts unconditionally
4578
4579 2003-07-21  Angus Leeming  <leeming@lyx.org>
4580
4581         * factory.C (createInset): pass a
4582         buffer_path parameter to InsetGraphicsMailer's string2params.
4583
4584 2003-07-21  Angus Leeming  <leeming@lyx.org>
4585
4586         * BufferView_pimpl.C (buffer):
4587         * buffer.C (d-tor):
4588         * lyx_main.C (LyX):
4589         * lyxfunc.C (dispatch):
4590         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4591         rather than the grfx shortcut.
4592
4593 2003-07-21  André Pönitz  <poenitz@gmx.net>
4594
4595         * rowpainter.C: remove unused variables
4596
4597         * tabular_funcs.C:
4598         * tabular_funcs.h: move to tabular.C
4599         * Makefile.am: adjust
4600
4601         * tabular.[Ch]: basic optical cleaning
4602
4603         * author.h: pass references, not values
4604
4605 2003-07-18  André Pönitz  <poenitz@gmx.net>
4606
4607         * lyxtext.h:
4608         * metricsinfo.C:
4609         * metricsinfo.h:
4610         * rowpainter.C:
4611         * text.C:
4612         * text2.C:
4613         * text3.C: two-phase drawing for InsetText and InsetTabular
4614         some float -> int changes.
4615
4616 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4617
4618         * lyx_main.C: fix the fix
4619
4620 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4621
4622         * lyx_main.C: fix a crash in batch mode if no files specified
4623         * converter.C: ws
4624
4625 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4626
4627         * format.[Ch] (papersize): moved to BufferParams
4628         * converter.[Ch] (dvips_options): moved to BufferParams
4629         (dvipdfm_options): moved to anon namespace
4630         * bufferparams.[Ch]: added above functions.
4631
4632 2003-07-17  André Pönitz  <poenitz@gmx.net>
4633
4634         * lyxtext.h:
4635         * rowpainter.C:
4636         * text2.C: don't call inset->update() anymore
4637
4638         * metricsinfo.[Ch]: add convenience constructor
4639
4640 2003-07-16  André Pönitz  <poenitz@gmx.net>
4641
4642         * lyxcursor.[Ch]:
4643         * lyxfunc.[Ch]:
4644         * text.C:
4645         * text2.C: replace the LyXCursor::irow_ member with
4646          on-demand computation of the value
4647
4648 2003-07-16  John Levon  <levon@movementarian.org>
4649
4650         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4651
4652 2003-07-15  André Pönitz  <poenitz@gmx.net>
4653
4654         * text.C:
4655         * text2.C: remove no more needed refresh_row
4656
4657 2003-07-15  André Pönitz  <poenitz@gmx.net>
4658
4659         * lyxtext.h:
4660         * rowpainter.C:
4661         * text2.C:
4662         * text3.C: refresh_status tristate -> need_update bool
4663
4664 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4665
4666         * lyxtext.h (init): remove reinit argument (act as if always true)
4667         * text2.C: adjust to that
4668
4669 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4670
4671         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4672         * text3.C: use it to delete selections in some cases
4673         (bugs 441, 673, 702, 954).
4674
4675 2003-07-14  André Pönitz  <poenitz@gmx.net>
4676
4677         * rowpainter.[Ch]: reduce interface
4678
4679 2003-07-14  André Pönitz  <poenitz@gmx.net>
4680
4681         * BufferView_pimpl.C:
4682         * text2.C: adjust after removing unused BufferView * argument
4683
4684 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4685
4686         * text2.C (init): fix a crash fired on resize
4687
4688 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * buffer.[Ch]: added new closing signal
4691         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4692         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4693         BufferView::Pimpl via the closing the signal
4694
4695 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4696
4697         * buffer.[Ch]: take out all bv-related from buffer
4698         * BufferView.C:
4699         * BufferView_pimpl.[Ch]: connect to new signals
4700         * CutAndPaste.C: removed useless asserts
4701         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4702         * lyxvc.[Ch]:
4703         * vc-backend.[Ch]:
4704         * lyxfunc.C: moved view-related funciontality from vc here
4705         * paragraph.C: removed outdated comments
4706         * text.C: ws
4707
4708 2003-07-10  André Pönitz  <poenitz@gmx.net>
4709
4710         * BufferView_pimpl.C:
4711         * tabular.h:
4712         * tabular_funcs.C:
4713         * text.C:
4714         * text2.C: remove InsetText::InnerCache, clean up consequences
4715
4716 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4717
4718         * ispell.C: fix two typos in error messages
4719
4720 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4721
4722         * Extend Note inset to other forms of annotation like Comment
4723         and Greyedout. Right button click gives dialog.
4724
4725         Files modified or added (+):
4726
4727         * insetnote.[Ch]
4728         * FormNote.[Ch]      +
4729         * ControlNote.[Ch]   +
4730         * form_note.fd       +
4731         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4732         frontends/controllers
4733         * xforms/Dialogs.C
4734         * factory.C
4735
4736 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4737
4738         * aspell.C: add missing namespace lyx::support
4739
4740 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4741
4742         * BufferView.[Ch] (newFile): Add
4743         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4744         * LaTeX.[Ch] (message): added this signal and use it
4745         * buffer.[Ch] (busy, message): added these signals and use them
4746         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4747         * converter.C:
4748         * exporter.C:
4749         * format.C:
4750         * importer.C: use buffer signals instead of direct bv calling
4751         * lyx_cb.[Ch] (ShowMessage): removed
4752         * lyx_main.C:
4753         * lyxfunc.C:
4754         * paragraph_funcs.C:
4755         * text2.C: use buffer signals
4756
4757 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4758
4759         * introduce namespace lyx::graphics
4760
4761 2003-07-02  André Pönitz  <poenitz@gmx.net>
4762
4763         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4764
4765 2003-07-01  André Pönitz  <poenitz@gmx.net>
4766
4767         * text.C:
4768         * text2.C:
4769         * text3.C:
4770         * text_funcs.[Ch]:
4771         * textcursor.h:
4772         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4773           text*.C to text_func.C
4774
4775 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * introduce namespace lyx::support
4778
4779 2003-06-30  André Pönitz  <poenitz@gmx.net>
4780
4781         * Chktex.C:
4782         * funcrequest.C:
4783         * lyxtext.h:
4784         * text.C: re-enable --with-included-string
4785
4786 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * textcursor.C: add <config.h>
4789
4790         * text.C (getWord): remove const from word_location arg
4791
4792         * lyxvc.C (getLogFile): fix const type order
4793
4794         * lyxtext.h: remove const from word_location arg, add arg name
4795
4796         * lyxlayout.h: currect type on labeltype.
4797
4798         * importer.C: correct \file
4799
4800         * converter.C (intToFormat): use std:: on ret val, ws changes
4801
4802         * bufferlist.h: correct \file
4803
4804         * buffer.C (makeLinuxDocFile): fix const type order
4805         (makeDocBookFile): ditto
4806         (fillWithBibKeys): use std:: on stdlib args.
4807
4808         * CutAndPaste.C: fix authors.
4809         (availableSelections): use std:: on return vector
4810
4811 2003-06-27  André Pönitz  <poenitz@gmx.net>
4812
4813         * BufferView_pimpl.C:
4814         * bufferview_funcs.C:
4815         * lyxcursor.C:
4816         * lyxcursor.h:
4817         * lyxfunc.C:
4818         * lyxtext.h:
4819         * rowpainter.C:
4820         * text.C:
4821         * text2.C:
4822         * text3.C: remove LyXCursor::row_ member
4823
4824         * lyxtext.h:
4825         * text.C: rename fullRebreak() to partialRebreak() and implement
4826           a fullRebreak() that really bereks fully
4827
4828         * textcursor.h: new struct for cursor-related data
4829
4830 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4831
4832         * lyx_main.C (LyX): get full path of document loaded on the
4833         command line
4834
4835 2003-06-26  André Pönitz  <poenitz@gmx.net>
4836
4837         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4838           remove unused/broken operator>,<,>=.
4839
4840         *       text.C: remove only use of broken operator<= in an Assert().
4841
4842 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4843
4844         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4845         moved errorlist_.clear to showErrorList
4846
4847 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4848
4849         * converter.C (scanLog, runLaTeX):
4850         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4851         move the bv->showErrorList call to the callers
4852         * lyxfunc.C: i.e. here...
4853         * text2.C: and here
4854         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4855         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4856         namespace, the second to...
4857         * buffer_funcs (BufferFormat, parseErrors): added
4858         * errorlist.C (ErrorList(TeXErrors const &)): removed
4859
4860 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4861
4862         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4863
4864 2003-06-24  "Garst R. Reese" <reese@isn.net>
4865
4866         * debug.C: fix typo
4867
4868 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4869
4870         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4871
4872         * version.C.in: change docversion to 1.4
4873
4874 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4875
4876         * buffer.C: fix a bug just introduced
4877
4878 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4879
4880         * buffer.[Ch]: added the parseError signal and use it, removed
4881         sgmlError
4882         * BufferView.[Ch] (addError): moved to ...
4883         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4884         to the Buffer::parseError signal to catch (guess what) parse errors
4885         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4886
4887 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4888
4889         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4890         ability to create a buffer and to return an existing one from
4891         the list. Moved these functions to...
4892         * buffer_funcs.[Ch]: added
4893         * BufferView.[Ch] (loadLyXFile): added
4894         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4895         job removed from bufferlist::loadLyXFile.
4896         * buffer.C (setReadOnly): make it work without view
4897         (i.e added an if (users))
4898
4899 2003-06-19  Angus Leeming  <leeming@lyx.org>
4900
4901         * lfuns.h:
4902         * LyXAction.C (init):
4903         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4904         with LFUN_DIALOG_SHOW <name> <data>.
4905
4906 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4907
4908         * CutAndPaste.C (availableSelections): small compilation fix for
4909         ancient (gcc 2.9x) compilers
4910
4911 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * text3.C (cursorNext): add tmp var
4914
4915         * text2.C (updateCounters): for function calling out of for clause
4916         (replaceSelectionWithString): ditto
4917         (insertStringAsParagraphs): ditto
4918         (getColumnNearX): add tmp var
4919         (setCursorFromCoordinates): add tmp var
4920         (cursorDownParagraph): add tmp var
4921         (deleteEmptyParagraphMechanism): add tmp var
4922
4923         * text.C (insertChar): add tmp var
4924
4925         * rowpainter.C (paintDepthBar): add tmp var
4926
4927         * CutAndPaste.C (availableSelections): potentially check all
4928         paragraphs in a cut to fill the shown strings.
4929
4930 2003-06-18  André Pönitz  <poenitz@gmx.net>
4931
4932         * kbmap.[Ch]: use vector<> instead of list<>
4933
4934 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4935
4936         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4937         pasteSelection with index
4938
4939         * text2.C (pasteSelection): modify, call pasteSelection with index
4940
4941         * paragraph.C (asString): reimplement version with no interval to
4942         call the one with interval.
4943
4944         * lyxtext.h: add index arg to pasteSelection
4945
4946         * MenuBackend.C (MenuItem): handle PasteRecent
4947         (Menu::read::Menutags): add md_pasterecent
4948         (read): handle it
4949         (expandPasteRecent): new function
4950         (expand): use it
4951
4952         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4953
4954         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4955         the limited stack
4956         (availableSelections): new function
4957
4958 2003-06-17  Angus Leeming  <leeming@lyx.org>
4959
4960         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4961
4962 2003-06-17  Angus Leeming  <leeming@lyx.org>
4963
4964         * lfuns.h:
4965         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4966
4967         * lyxfunc.C (dispatch): invoke it.
4968
4969 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4970
4971         * iterators.C (operator++, ParPosition): reintroduce some
4972         const_cast for the benefit of older compilers.
4973
4974 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4975
4976         * text3.C (dispatch): do not modify clipboard when doing
4977         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4978         LFUN_DELETE_SKIP on a selection selection
4979
4980 2003-06-16  André Pönitz  <poenitz@gmx.net>
4981
4982         * BufferView.C:
4983         * buffer.C:
4984         * buffer.h:
4985         * paragraph.C:
4986         * tabular.[Ch]: IU of clone() and getLabelList();
4987
4988 2003-06-13  André Pönitz  <poenitz@gmx.net>
4989
4990         * tabular.h: compactification
4991
4992 2003-06-12  André Pönitz  <poenitz@gmx.net>
4993
4994         * tabular.C:
4995         * tabular.h:
4996         * tabular_funcs.h: some renaming plus whitespace
4997
4998 2003-06-12  André Pönitz  <poenitz@gmx.net>
4999
5000         * BufferView.C:
5001         * BufferView_pimpl.C:
5002         * CutAndPaste.C:
5003         * buffer.C:
5004         * iterators.[Ch]:
5005         * lyxfunc.C:
5006         * text.C:
5007         * toc.C: Return a Paragraph & for ParIterator::operator*()
5008
5009 2003-06-11  John Levon  <levon@movementarian.org>
5010
5011         * lyx_main.C:
5012         * ToolbarBackend.h:
5013         * ToolbarBackend.C: add "Toolbars" section and
5014         put the flags there
5015
5016 2003-06-10  Angus Leeming  <leeming@lyx.org>
5017
5018         * lfuns.h:
5019         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5020
5021         * lyxfunc.C (dispatch): invoke it.
5022
5023 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5024
5025         * main.C: protect <ios> with HAVE_IOS
5026         (main): protect sync_with_stdio with HAVE_IOS
5027
5028 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5029
5030         * text2.C (cutSelection): adjust
5031         (pasteSelection): adjust
5032
5033         * messages.C: handle get of empty string
5034
5035         * main.C (main): use sync_with_stdio(false)
5036
5037         * lyxfunc.C (dispatch): adjust
5038
5039         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5040         (WriteAs): remove unneeded BufferView arg.
5041
5042         * bufferparams.h: use correct types on papersize, papersize2 and
5043         paperpackage.
5044
5045         * bufferparams.C (readToken): adjust for type
5046         (writeLaTeX): add missing cases to switch.
5047
5048         * bufferlist.C (quitWriteBuffer): adjust
5049         (close): adjust
5050
5051         * buffer.C (asciiParagraph): remove some commented code.
5052
5053         * CutAndPaste.C: remove current_view extern variable.
5054         (cutSelection): add BufferParams arg.
5055         (eraseSelection): add BufferParams arg.
5056         (pasteSelection): add Buffer const & arg
5057
5058 2003-06-07  John Levon  <levon@movementarian.org>
5059
5060         * buffer.C:
5061         * paragraph_funcs.C:
5062         * paragraph_pimpl.C:
5063         * text.C:
5064         * text2.C:
5065         * paragraph.h:
5066         * paragraph.C: allow InsetERT to freely space lines,
5067         and some consolidation of code
5068
5069 2003-06-06  José Matos  <jamatos@fep.up.pt>
5070
5071         * buffer.C (makeDocBookFile): fix bug #821
5072
5073 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5074
5075         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5076
5077 2003-06-04  Angus Leeming  <leeming@lyx.org>
5078
5079         * buffer.C: bump format to 224.
5080
5081 2003-06-05  André Pönitz  <poenitz@gmx.net>
5082
5083         * text2.C (redoParagraphs): remove two const_cast<>
5084
5085 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5086
5087         * ParagraphList.h: remove last remnants of NO_STD_LIST
5088
5089 2003-06-03  Angus Leeming  <leeming@lyx.org>
5090
5091         * factory.C (createInset): small change to the way InsetExternal's params
5092         are set.
5093
5094 2003-06-04  André Pönitz  <poenitz@gmx.net>
5095
5096         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5097
5098         * paragraph_pimpl.h:
5099         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5100
5101         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5102
5103         * undo_funcs.C: make some simple cases of undo work again
5104
5105 2003-06-03  John Levon  <levon@movementarian.org>
5106
5107         * ispell.C: HPUX doesn't have sys/select.h
5108         (from Albert Chin)
5109
5110 2003-06-03  John Levon  <levon@movementarian.org>
5111
5112         * CutAndPaste.C: update tabular and include inset
5113         buffer references
5114
5115         * buffer.h:
5116         * paragraph.h:
5117         * paragraph.C: remove owningBuffer(), don't pass Buffer
5118         to clone()
5119
5120         * factory.C: insetGraphicsParams changed
5121
5122 2003-06-02  John Levon  <levon@movementarian.org>
5123
5124         * LyXAction.C:
5125         * factory.C:
5126         * lfuns.h:
5127         * lyxfunc.C:
5128         * text3.C: remove insetparent
5129
5130 2003-06-02  John Levon  <levon@movementarian.org>
5131
5132         * buffer.h:
5133         * buffer.C: fix inset_iterator.end(), move out of line
5134         (bug 1149)
5135
5136 2003-06-01  John Levon  <levon@movementarian.org>
5137
5138         * text3.C: use a proper cut/paste when doing inset
5139         insert (from Jürgen Spitzmüller)
5140
5141 2003-06-01  John Levon  <levon@movementarian.org>
5142
5143         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5144
5145 2003-05-30  André Pönitz  <poenitz@gmx.net>
5146
5147         * rowpainter.C: unify second drawing phase
5148
5149 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5150
5151         * trans_mgr.C: remove one case of current_view
5152
5153         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5154
5155         * paragraph_funcs.h: remove paragraph.h include
5156
5157         * paragraph.h: delete NO_STD_LIST stuff
5158
5159         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5160
5161         * buffer.h: remove paragraph.h include
5162
5163         * ParagraphList.C: delete file
5164
5165         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5166
5167         * toc.C (getTocList): adjust
5168
5169         * paragraph_pimpl.C (validate): adjust
5170
5171         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5172
5173         * paragraph.C (Paragraph): adjust
5174         (getPositionOfInset): use const_iterator, adjust
5175         (bibitem): use const_iterator, adjust
5176         (setInsetOwner): adjust
5177
5178         * iterators.C (operator++): adjust
5179
5180         * InsetList.[Ch]: Replace selfmade iterator with standard
5181         vector::iterator also introduce const_iterator. Remove getPos,
5182         getInset and setInset from InsetTable. Adjust accordingly.
5183
5184         * BufferView.C (lockInset): adjust
5185         (ChangeInsets): adjust
5186
5187         * tabular.[Ch]: delete commented same_id functions
5188
5189 2003-05-28  John Levon  <levon@movementarian.org>
5190
5191         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5192
5193 2003-05-28  André Pönitz  <poenitz@gmx.net>
5194
5195         * metricsinfo.[Ch]: remove 'fullredraw' member
5196
5197 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5198
5199         * lyxtextclass.C (operator): remove caching.
5200
5201 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5202
5203         * text3.C: adjust
5204
5205         * text2.C (cursorBottom): adjust
5206         (setCounter): use ParagraphList::find, adjust
5207
5208         * text.C (workWidth): use ParagraphList::find, adjust
5209
5210         * lyxcursor.C (LyXCursor): adjust
5211
5212         * buffer.C (inset_iterator): adjust
5213
5214         * ParagraphList.h: make iterator(value_type) private, make
5215         ParagraphList a friend of iterator.
5216
5217         * ParagraphList.C (find): new function
5218
5219         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5220
5221 2003-05-27  André Pönitz  <poenitz@gmx.net>
5222
5223         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5224
5225 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5226
5227         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5228
5229 2003-05-26  John Levon  <levon@movementarian.org>
5230
5231         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5232
5233 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5234
5235         * remove same_id from function signatures, adjust.
5236
5237 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5240
5241         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5242
5243         * paragraph.C (Paragraph): get rid of same_ids parameter
5244
5245         * ParagraphList.C (insert): adjust
5246         (push_back): adjust
5247
5248 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * paragraph_funcs.C (breakParagraph): adjust
5251         (breakParagraphConservative): adjust
5252
5253         * buffer.C (readParagraph): adjust
5254
5255         * ParagraphList.C (insert): take a reference instead of a pointer
5256         (insert): adjust
5257
5258         * paragraph.[Ch] (id): new function
5259
5260         * bufferlist.C (newFile): adjust
5261
5262         * ParagraphList.C (ParagraphList): adjust
5263         (assign): adjust
5264         (push_back): take a reference instead of a pointer.
5265
5266         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5267
5268         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5269         instead.
5270
5271         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5272         set else use old code.
5273
5274         * ParagraphList.C: remove all NO_NEXT code and only compile this
5275         code of NO_STD_LIST is set.
5276
5277 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5278
5279         * BufferView_pimpl.C:
5280         * TextCache.C:
5281         * TextCache.h:
5282         * bufferlist.C:
5283         * errorlist.h:
5284         * format.C:
5285         * format.h:
5286         * graph.C:
5287         * lyxfunc.C:
5288         * lyxrc.C:
5289         * graphics/GraphicsConverter.C:
5290         * graphics/PreviewLoader.C: header adjustment
5291
5292 2003-05-23  Angus Leeming  <leeming@lyx.org>
5293
5294         * LaTeXFeatures.[Ch] (useBabel): new method.
5295         * bufferparams.C (writeLaTeX): use it.
5296
5297 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5298
5299         * ParagraphList.h (set): remove unused function.
5300
5301 2003-05-23  André Pönitz  <poenitz@gmx.net>
5302
5303         * BufferView.C:
5304         * BufferView_pimpl.C:
5305         * buffer.C:
5306         * buffer.h:
5307         * lyxfunc.C:
5308         * undo_funcs.C: setUndo reworked
5309
5310         * iterators.[Ch]: add access to topmost ParagraphList
5311
5312         * lyxtext.[Ch] (workWidth): add a const
5313
5314 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5315
5316         * texrow.[Ch] (increasePos): remove function
5317         * exporter.C (export): removed unused var and outdated comment
5318
5319 2003-05-23  Angus Leeming  <leeming@lyx.org>
5320
5321         * latexrunparams.h: rename fragile as moving_arg.
5322         * paragraph.C (simpleTeXOnePar): ditto.
5323         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5324
5325 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5326
5327         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5328         (createUndo): ditto
5329         (textUndoOrRedo): comment out a currently unused var.
5330
5331         * paragraph.h (NO_NEXT): enable NO_NEXT
5332
5333         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5334
5335         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5336
5337         * exporter.C (Export): adjust for removeAutoInsets removal.
5338
5339         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5340
5341         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5342
5343         * BufferView.[Ch] (removeAutoInsets): delete function
5344
5345 2003-05-22  Angus Leeming  <leeming@lyx.org>
5346
5347         * latexrunparams.h: add a free_spacing variable.
5348
5349         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5350         to pass moving_arg, as the data is stored in runparams.fragile.
5351
5352         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5353         to Inset::latexOptional or to simpleTeXOnePar.
5354
5355         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5356         free_spacing arg to Inset::latexOptional.
5357
5358         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5359         free_spacing arg.
5360
5361 2003-05-22  Angus Leeming  <leeming@lyx.org>
5362
5363         * latexrunparams.h: add fragile and use_babel variables.
5364
5365         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5366         * buffer.C (makeLaTeXFile): store this returned value in
5367         runparams.use_babel, thus passing it to the inset::latex methods.
5368
5369         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5370         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5371
5372         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5373         longer has a fragile arg, as it is stored in runparams.fragile.
5374
5375         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5376         moving_arg parameter as the data is stored in runparams.fragile.
5377
5378         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5379         a fragile parameter as the data is stored in runparams.fragile.
5380
5381 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5382
5383         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5384
5385 2003-05-22  Angus Leeming  <leeming@lyx.org>
5386
5387         * latexrunparams.h: add a 'bool nice' which defaults to false.
5388
5389         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5390         now encapsulated within runparams.
5391
5392         * bufferlist.C (updateIncludedTeXfiles):
5393         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5394
5395 2003-05-22  Angus Leeming  <leeming@lyx.org>
5396
5397         * latexrunparams.h: new file containing struct LatexRunParams.
5398         * Makefile.am: add new file.
5399
5400         * LaTeX.[Ch] (c-tor, run):
5401         * buffer.[Ch] (makeLaTeXFile):
5402         * bufferlist.[Ch] (updateIncludedTeXfiles):
5403         * converter.C (convert, scanLog):
5404         * converter.[Ch] (runLaTeX):
5405         * exporter.C (Export):
5406         * paragraph.[Ch] (simpleTeXOnePar):
5407         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5408         * paragraph_funcs.[Ch] (latexParagraphs):
5409         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5410         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5411         pass around a LatexRunParams parameter.
5412
5413 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5414
5415         * paragraph.[Ch]: remove unused constructor
5416
5417         * ParagraphList.C (erase): new function, taking two iterators
5418
5419 2003-05-22  André Pönitz  <poenitz@gmx.net>
5420
5421         * undo_funcs.C: remove duplicated code
5422
5423         * iterator.[Ch]: operator=
5424
5425 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5426
5427         * tabular.C (SetMultiColumn): ws changes
5428
5429         * rowpainter.C (paintFirst): get rid of a ->previous
5430
5431         * lyx_cb.C (getPossibleLabel): parlist simplification
5432
5433         * BufferView.C (ChangeInsets): simplify slightly.
5434
5435 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5436
5437         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5438         * lfuns.h: new LFUN_SPACE
5439         * lyxfunc.C: protected space has a new lfun
5440         * paragraph_funcs.C: read new space insets
5441         * text3.C:
5442         * factory.C: handle new space insets
5443
5444 2003-05-22  André Pönitz  <poenitz@gmx.net>
5445
5446         * BufferView.C:
5447         * BufferView_pimpl.C:
5448         * buffer.[Ch]:
5449         * lyxfunc.C:
5450         * undo_funcs.C: return a ParIterator from getParFromID.
5451
5452         * iterators.[Ch]: add two const's
5453
5454 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5455
5456         * toc.C (getTocList): adjust
5457
5458         * iterators.[Ch]: rework for parlist
5459
5460         * buffer.C (par_iterator_begin): adjust
5461         (par_iterator_end): adjust
5462
5463         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5464
5465         * BufferView.C (removeAutoInsets): adjust
5466         (ChangeInsets): adjust
5467
5468 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5469
5470         * text.C (top_y): fix bug 1110
5471
5472 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5473
5474         * errorlist.[Ch]: added
5475         * buffer.C:
5476         * BufferView.[Ch]:
5477         * BufferView_pimpl.C:
5478         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5479         instead
5480
5481 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5482
5483         * Makefile.am: ensure that lyx is relinked upon changes to the
5484         various "convenience" libs.
5485
5486 2003-05-20  Angus Leeming  <leeming@lyx.org>
5487
5488         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5489         files are compiled in alphabetical order again.
5490
5491         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5492
5493 2003-05-19  Angus Leeming  <leeming@lyx.org>
5494
5495         * gettext.[Ch]: remove "char const * _(char const *)".
5496
5497 2003-05-19  André Pönitz  <poenitz@gmx.net>
5498
5499         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5500
5501         * Makefile.am:
5502         * BufferView.C:
5503         * DepTable.h:
5504         * LaTeXFeatures.C:
5505         * buffer.C:
5506         * lyxfont.C:
5507         * lyxlex.h:
5508         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5509
5510 2003-05-19  André Pönitz  <poenitz@gmx.net>
5511
5512         * buffer.C:
5513         * lyxlayout.[Ch]:
5514         * lyxtextclass.[Ch]:
5515         * paragraph.C:
5516         * paragraph_funcs.[Ch]:
5517         * text2.C:
5518         * text3.C: more insetenv work
5519
5520 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5521
5522         * ParagraphParameters.C (params2string): small bug fixed
5523
5524 2003-05-16  André Pönitz  <poenitz@gmx.net>
5525
5526         * debug.C:
5527         * bufferview_funcs.C: patch from Kornel Benko to prevent
5528           crash when _(...) is called twice in a statement
5529
5530 2003-05-16  André Pönitz  <poenitz@gmx.net>
5531
5532         * BufferView.C:
5533         * lyxfunc.C:
5534         * text.C:
5535         * text2.C:
5536         * text3.C:
5537         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5538
5539 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5540
5541         * lyx_main.C (init): remove spurious static_cast
5542
5543 2003-05-14  André Pönitz  <poenitz@gmx.net>
5544
5545         * BufferView.C: fix format string
5546
5547 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5548
5549         * BufferView.[Ch] (insertErrors): removed
5550         * BufferView.[Ch] (showErrorList): added
5551         * buffer.C (runChkTeX):
5552         * converter.C (scanLog): call showErrorList instead of inserterrors
5553
5554 2003-05-13  André Pönitz  <poenitz@gmx.net>
5555
5556         * BufferView_pimpl.C:
5557         * buffer.C:
5558         * bufferview_func.C:
5559         * MenuBackend.C:
5560         * lyxfunc.C:
5561         * lyxrc.C:
5562         * tex-accent.C:
5563         * text3.C:
5564         * toc.C:
5565         * tabular_funcs.h: tostr() from its own header
5566
5567         * ParagraphParameters.C:
5568         * ToolbarBackend.C:
5569         * bufferparams.C:
5570         * format.C:
5571         * lyxlex_pimpl.C:
5572         * text3.C: STRCONV()
5573
5574 2003-05-12  André Pönitz  <poenitz@gmx.net>
5575
5576         * BufferView.C:
5577         * BufferView_pimpl.C:
5578         * CutAndPaste.C:
5579         * LaTeX.C:
5580         * LaTeXFeatures.C:
5581         * ParagraphParameters.C:
5582         * buffer.C:
5583         * bufferlist.C:
5584         * bufferparams.C:
5585         * bufferview_funcs.C:
5586         * converter.C:
5587         * counters.C:
5588         * debug.C:
5589         * exporter.C:
5590         * format.C:
5591         * importer.C:
5592         * lyx_cb.C:
5593         * lyx_main.C:
5594         * lyxfont.C:
5595         * lyxfunc.C:
5596         * lyxvc.C:
5597         * paragraph.C:
5598         * paragraph_funcs.C:
5599         * tabular.C:
5600         * tabular_funcs.C:
5601         * text2.C:
5602         * text3.C:  boost::format -> bformat  all over the place
5603
5604
5605 2003-05-09  André Pönitz  <poenitz@gmx.net>
5606
5607         * LColor.[Ch]: Pimpl the #include <map> away
5608
5609 2003-05-09  John Levon  <levon@movementarian.org>
5610
5611         * bufferlist.C: never remove emergency saves
5612
5613 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5614
5615         * Makefile.am: better lib building
5616
5617 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5618
5619         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5620         instead.
5621         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5622         (simpleTeXSpecialChars): adjust
5623         (simpleTeXSpecialChars): adjust
5624         * paragraph.C (simpleTeXOnePar): adjust
5625         * buffer.C (makeLaTeXFile): adjust
5626
5627         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5628
5629         * text2.C (changeDepth): parlist cleanup
5630         (getColumnNearX): ditto
5631
5632         * rowpainter.C (getLabelFont): parlist cleanup
5633
5634         * bufferlist.C (newFile): parlist cleanup
5635
5636         * CutAndPaste.C (eraseSelection): parlist cleanup
5637
5638         * BufferView_pimpl.C (trackChanges): parlist cleanup
5639         (dispatch): ditto
5640
5641         * BufferView.C (lockInset): parlist cleanup.
5642         (ChangeInsets): ditto
5643
5644 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * CutAndPaste.h: Update file header.
5647
5648         * CutAndPaste.C: Update file header.
5649         Store the parts cut out of the Document in a limited_stack.
5650         (copySelection): adjust
5651         (pasteSelection): new function, takes the index in the limited stack.
5652         (nrOfParagraphs): adjust
5653         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5654         simplify error inset insertion.
5655         (checkPastePossible): adjust
5656
5657 2003-05-06  John Levon  <levon@movementarian.org>
5658
5659         * text2.C: don't cast wrap inset to float
5660
5661 2003-05-05  André Pönitz  <poenitz@gmx.net>
5662
5663         * iterator.C:
5664         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5665
5666         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5667           few naked Paragraph *.
5668
5669 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5670
5671         * bufferparams.C: Output warning if a document with missing
5672         TeX document class is loaded
5673         * exporter.C: Disable TeX exports if the document class is missing
5674         * lyxtextclass.C:
5675         * lyxtextclass.h:
5676         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5677         isTeXClassAvailable()
5678
5679 2003-05-03  John Levon  <levon@movementarian.org>
5680
5681         * BufferView.h:
5682         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5683         explicit cursor show/hide
5684
5685         * BufferView_pimpl.h:
5686         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5687         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5688
5689         * lyxfunc.C: hide cursor before dispatching.
5690
5691         * lyx_cb.C:
5692         * lyxfind.C:
5693         * text.C:
5694         * text3.C: remove explicit cursor hides
5695
5696 2003-05-02  André Pönitz  <poenitz@gmx.net>
5697
5698         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5699
5700         * undo_funcs.C:
5701         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5702           linked lists
5703
5704         * text2.C: tiny whitespace
5705
5706 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * undo_funcs.C: almost only ws changes.
5709
5710         * ParagraphList.C (splice): just return if pl is empty.
5711
5712 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * ParagraphList.C (splice): new function.
5715
5716         * CutAndPaste.C (pasteSelection): use it
5717
5718 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5719
5720         * CutAndPaste.C (pasteSelection): remove the last next and
5721         previous from this file.
5722
5723 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5724
5725         * CutAndPaste.C (pasteSelection): more clean up, user proper
5726         ParagraphList functions for pasteing.
5727
5728         * ParagraphList.C (insert): new function, three arg insert
5729
5730 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5731
5732         * ParagraphList.C (insert): new function, three arg insert
5733
5734         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5735         not on paragraphs.
5736
5737 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5738
5739         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5740
5741 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5742
5743         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5744
5745 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5746
5747         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5748         (copySelection): clean up a bit.
5749         (pasteSelection): use make_pair
5750
5751         * ParagraphList.C (ParagraphList): implement copy constructor
5752         (operator=): implement, base on copy constructor.
5753         (assign): new func
5754
5755         * paragraph.C (erase): return a bool
5756
5757         * paragraph_pimpl.C (erasePos): remove function, move contents...
5758         (erase): ... here. Return a bool.
5759         (erase): call erase instead of erasePos.
5760
5761 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5762
5763         * ParagraphList.h: define PitPosPair
5764         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5765         ParagraphList, fix a bug on pasting multiple pars
5766         * text2.C: change interface to C&P
5767
5768 2003-04-30  André Pönitz  <poenitz@gmx.net>
5769
5770         * undo_func.C: revert part of yesterday's patch 2
5771
5772 2003-04-30  John Levon  <levon@movementarian.org>
5773
5774         * LColor.C: s/tabular/table/
5775
5776 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * text3.C (dispatch): do not convert iterator -> pointer
5779         * undo_funcs.C (setCursorParUndo): ditto
5780         * text_funcs.C (transposeChars): ditto
5781
5782         * text2.C (setLayout): ws changes only
5783
5784         * text.C (breakParagraph): do not convert iterator -> pointer
5785         (insertChar): ditto
5786         (acceptChange): ditto
5787         (rejectChange): ditto
5788         (changeCase): ditto
5789         (Delete): ditto
5790         (backspace): ditto
5791
5792         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5793         pointer
5794
5795 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5796
5797         * text3.C (gotoInset): YABG (yet another bad getChar)
5798
5799 2003-04-29  André Pönitz  <poenitz@gmx.net>
5800
5801         * paragraph.h: make operator= private unimplemented as long as
5802           it is unusable
5803
5804         * ParagraphList.C: whitespace
5805
5806         * paragraph.[Ch]:
5807         * paragraph_pimpl.[Ch]:
5808         * paragraph_funcs.C:
5809         * CutAndPaste.C:
5810         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5811
5812         * text2.C:
5813           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5814
5815 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5816
5817         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5818         * paragraph.[Ch] (erase):
5819         * paragraph_pimpl.[Ch] (erase): change return type and value
5820         * text2.C (cutSelection): some rework
5821
5822 2003-04-28  John Levon  <levon@movementarian.org>
5823
5824         * bufferlist.C: changes for unsaved changes dialog
5825
5826 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5827
5828         * bufferlist.C (newFile): set language (messages_) for new
5829         documents also.
5830
5831         * buffer.C (readFile): ws changes only.
5832
5833 2003-04-28  André Pönitz  <poenitz@gmx.net>
5834
5835         * undo_funcs.C:
5836         * lyxfunc.C:
5837         * buffer.[Ch]:
5838         * BufferView_pimpl.C:
5839         * BufferView.C: getParFromID related ParagraphList::iterator changes
5840
5841 2003-04-28  André Pönitz  <poenitz@gmx.net>
5842
5843         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5844           Changes
5845
5846 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5847
5848         * messages.C: remove one more localedir class variable.
5849
5850 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5851
5852         * messages.C (getLocaleDir): singleton generation function
5853         (Pimpl): use it.
5854         (Messages): add a default constructor.
5855
5856         * main.C (main): do not setup localedir here, do not call
5857         gettext_init.
5858
5859         * gettext.C (_): use it.
5860         (gettext_init): delete funciton
5861
5862 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5863
5864         * gettext.C (getLyXMessages): new singleton generating function.
5865
5866         * buffer.C (updateDocLang): adjust
5867
5868         * Makefile.am (messages.o): add target
5869         (main.o): remove target
5870
5871 2003-04-27  John Levon  <levon@movementarian.org>
5872
5873         * bufferlist.C:
5874         * lyx_cb.C:
5875         * lyxfunc.C:
5876         * lyxvc.C: specify cancel button in Alert::prompt
5877
5878 2003-04-26  John Levon  <levon@movementarian.org>
5879
5880         * text3.C:
5881         * lyxfunc.C:
5882         * lfuns.h:
5883         * LyXAction.C: add LFUN_INSET_SETTINGS
5884
5885         * lyxfunc.C: don't enable tabular-feature when there's
5886         just any locking inset
5887
5888 2003-04-26  John Levon  <levon@movementarian.org>
5889
5890         * bufferlist.C: re-add Cancel to buffer close question
5891
5892         * lyxfunc.C: fix import UI a bit
5893
5894 2003-04-25  John Levon  <levon@movementarian.org>
5895
5896         * gettext.C: remove the broken asserts for now
5897
5898 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5899
5900         * messages.C: make case where setlocale cannot comply work better.
5901
5902         * buffer.C (updateDocLang): new function
5903         (changeLanguage): use it
5904         (readFile): use it
5905
5906         * text2.C (setCounter): use B_ a bit.
5907
5908         * lyxlayout.C (Read): be sure to trim the label strings.
5909
5910         * messages.C (Messages): fix typo in comment
5911
5912         * buffer.C (readFile): set message_ after file is loaded.
5913         (makeDocBookFile): remove double return
5914         (changeLanguage): reset message_ upon language change.
5915         (B_): new func, use this to get translated buffer strings.
5916
5917         * main.C: add myself and Jean Marc as authors.
5918
5919 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5920
5921         * messages.[hC]: pimplify Messages, and three different pimpls to be
5922         used in different circumstances.
5923
5924         * gettext.[Ch]: change for use with new message code.
5925
5926 2003-04-24 André Pönitz <poenitz@gmx.net>
5927
5928         * factory.C: support for eqref
5929
5930 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5931
5932         * messages.[Ch]: add missing char
5933
5934         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5935
5936         * messages.[Ch]: New files
5937
5938 2003-04-18  John Levon  <levon@movementarian.org>
5939
5940         * BufferView.h:
5941         * BufferView.C:
5942         * BufferView_pimpl.C:
5943         * lfuns.h:
5944         * LyXAction.C:
5945         * lyxtext.h:
5946         * text2.C: remove layout-copy/paste (bug 778)
5947
5948 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5949
5950         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5951
5952 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5953
5954         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5955         if they succeed. Act accordingly.
5956
5957 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5958
5959         * text2.C (setCharFont): adjust
5960         (setCounter): adjust
5961         (insertStringAsLines): adjust
5962
5963         * text.C (leftMargin): adjust
5964         (setHeightOfRow): adjust
5965
5966         * rowpainter.C (paintFirst): adjust
5967         (paintLast): adjust
5968
5969         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5970         (outerHook): ditto
5971         (isFirstInSequence): ditto
5972         (getEndLabel): ditto
5973         (outerFont): adjust
5974
5975         * paragraph.C (getParLanguage): comment out some hard stuff.
5976
5977         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5978         (sgmlError): ditto
5979         (simpleDocBookOnePar): ditto
5980         (makeDocBookFile): use ParagraphList::iterator
5981
5982         * CutAndPaste.C (pasteSelection): adjust
5983
5984 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5985
5986         * text2.C (getFont): adjust
5987         (getLayoutFont): adjust
5988         (getLabelFont): adjust
5989
5990         * paragraph_funcs.C (TeXOnePar): adjust
5991
5992         * buffer.C (simpleLinuxDocOnePar): adjust
5993         (simpleDocBookOnePar): adjust
5994
5995         * CutAndPaste.C (pasteSelection): adjust
5996
5997         * BufferView.C (getEncoding): adjust
5998
5999         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6000
6001 2003-04-16  John Levon  <levon@movementarian.org>
6002
6003         * lyxfind.C: use parlist stuff for search/changes
6004
6005 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6008
6009         * text2.C (deleteEmptyParagraphMechanism): adjust
6010
6011         * text2.[Ch] (ownerParagraph): delete func (both of them
6012
6013 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6014
6015         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6016
6017 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6018
6019         * ParagraphList.C: prepare for NO_NEXT
6020
6021 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6022
6023         * text2.C (getFont): adjust
6024         (getLayoutFont): adjust
6025         (getLabelFont): adjust
6026
6027         * paragraph.C (getFont): adjust
6028         (getLabelFont): adjust
6029         (getLayoutFont): adjust
6030
6031         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6032
6033 2003-04-15  John Levon  <levon@movementarian.org>
6034
6035         From Angus Leeming
6036
6037         * lyx_main.C: handle Include in .ui files
6038
6039 2003-04-15  John Levon  <levon@movementarian.org>
6040
6041         * MenuBackend.C: make the doc files length shorter
6042
6043         * ToolbarBackend.h:
6044         * ToolbarBackend.C: handle toolbar placement flags,
6045         Minibuffer
6046
6047 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6050         adjust
6051
6052         * paragraph_funcs.C (TeXOnePar): adjust
6053
6054         * paragraph.C (getLabelFont): add outerfont arg, adjust
6055         (getLayoutFont): ditto
6056         (simpleTeXOnePar): adjust
6057
6058         * paragraph_pimpl.C (realizeFont): delete func
6059
6060 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6061
6062         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6063         row argument, constify cur argument.
6064
6065 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6066
6067         * text2.C (getFont): adjust
6068         (getLayoutFont): adjust
6069         (getLabelFont): adjust
6070
6071         * paragraph_funcs.C (TeXOnePar): adjust
6072         (outerFont): new func...
6073         (realizeFont): ...moved out from here, changed this to facilitate
6074         transition
6075
6076         * paragraph.C (getFont): take outerfont as arg, adjust
6077         (simpleTeXOnePar): add outerfont arg, adjust
6078
6079         * buffer.C (simpleLinuxDocOnePar): adjust
6080         (simpleDocBookOnePar): adjust
6081
6082         * CutAndPaste.C (pasteSelection): adjust
6083
6084         * BufferView.C (getEncoding): adjust
6085
6086 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6087
6088         * text2.C (setCharFont): adjust
6089         (setCounter): adjust
6090
6091         * text.C (leftMargin): adjust
6092         (setHeightOfRow): adjust
6093
6094         * rowpainter.C (paintFirst): adjust
6095         (paintLast): adjust
6096
6097         * paragraph_pimpl.C (realizeFont): adjust
6098
6099         * paragraph.C (isFirstInSequence): move from here...
6100         * paragraph_funcs.C (isFirstInSequence): ...to here
6101
6102         * paragraph.C (outerHook): move from here...
6103         * paragraph_funcs.C (outerHook): ...to here
6104
6105         * paragraph.C (depthHook): move from here...
6106         * paragraph_funcs.C (depthHook): ...to here
6107
6108         * paragraph.C (getEndLabel): move from here...
6109         * paragraph_funcs.C (getEndLabel): ...to here
6110
6111         * text2.C (realizeFont): move from here...
6112         * paragraph_funcs.C (realizeFont): ...to here
6113
6114 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6115
6116         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6117
6118 2003-04-14  Angus Leeming  <leeming@lyx.org>
6119
6120         * LColor.[Ch]: scrap LColor mathcursor.
6121
6122 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * lyxlex.[Ch] (text): delete function
6125         * trans.C (Load): adjust
6126         * paragraph_funcs.C (readParToken): adjust
6127
6128 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6129
6130         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6131         vector<char> instead of a char[].
6132
6133         * lyxlex_pimpl.C (getString): adjust
6134         (next): adjust
6135         (lex): use getString
6136         (eatLine): adjust
6137         (nextToken): adjust
6138
6139         * lyxlex.C (text): use pimpl_->getString()
6140         (getBool): ditto
6141         (findToken): ditto
6142
6143 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6144
6145         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6146         (makeFontEntriesLayoutSpecific): temp var for par.size()
6147         (setLayout): temp var for ownerParagraphs().end()
6148         (fullRebreak): temp var for rows().end()
6149         (selectionAsString): temp var for boost::next(startpit), realize
6150         that the while really is a regular for loop.
6151         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6152         setCursor in one place.
6153         (setParagraph): temp vr for ownerParagraphs().end()
6154         (updateCounters): make the while loop a for loop
6155         (cutSelection): temp var for ownerParagraphs().end()
6156         (updateInset): make the do {} while() a regular for loop
6157         (getCursorX): use temp vars
6158         (setCurrentFont): use temp vars
6159         (getColumnNearX): use temp vars
6160
6161 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6162
6163         * text.C (transformChar): use temp var for getChar
6164         (computeBidiTables): use temp var for row->par()
6165         (fill): move temp vars for row->par() and pit->layout() earlier in
6166         the function.
6167         (labelFill): use temp var for row->par()
6168         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6169         asc and desc, realize that pit never changes and that firstpit is
6170         just a duplicate and not needed. Exchange rit->par() with pit in a
6171         lot of places.
6172         (breakAgain): use a temp var for boost::next(rit)
6173         (breakAgainOneRow): ditto
6174         (breakParagraph): use a temp var for rows().begin()
6175         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6176         (cursorRightOneWord): use temp var for cursor.par() and
6177         cursor.pos(), remove usage of tmpcursor.
6178         (cursorLeftOneWord): use temp var for cursor.par() and
6179         cursor.pos() only set cur at end of function.
6180
6181 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6182
6183         * text.C, text2.C: exchange all usage of Paragraph::next with
6184         boost::next(ParagraphList::iterator)
6185
6186         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6187
6188         * text2.C (cursorTop): simplify implementation
6189         (cursorBottom): ditto
6190         (setParagraph): use ParagraphList::iterator
6191         (setCurrentFont): adjust
6192         (getColumnNearX): adjust
6193         (cursorRight): adjust
6194         (cursorLeft): remove usage of Paragraph::previous
6195         (cursorUpParagraph): ditto
6196         (deleteEmptyParagraphMechanism): slight cleanup
6197
6198         * text.C (isBoundary): take a Paragraph const & instead of a
6199         pointer as arg.
6200         (addressBreakPoint): ditto
6201         (leftMargin): remove usage of Paragraph::previous.
6202         (setHeightOfRow): ditto
6203         (cursorLeftOneWord): ditto
6204         (selectNextWordToSpellcheck): ditto
6205         (Delete): ditto
6206         (backspace): ditto
6207         (breakParagraph): remove one usage of Paragraph::next
6208         (redoParagraph): ditto
6209         (acceptChange): ditto
6210         (insertChar): adjust
6211         (rowBreakPoint): adjust
6212
6213         * bufferview_funcs.C (toggleAndShow): adjust
6214
6215 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6216
6217         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6218         methods to access it.
6219         * lyxtext.h:
6220         * text.C: Added updateRowPositions to compute all row positions.
6221         Make top_y and getRowNearY() to use the cached y position
6222
6223 2003-04-11  John Levon  <levon@movementarian.org>
6224
6225         * text.C (rowBreakPoint): reintroduce the labelEnd
6226         checks, code copied from the row fill stuff. Deep voodoo.
6227
6228         * text.C (fill): add a comment and debugging for the
6229         next poor soul.
6230
6231 2003-04-11  John Levon  <levon@movementarian.org>
6232
6233         * text.C: make sure fullrow insets get wrapped to the next line,
6234         even when they're in a manual label
6235
6236 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6237
6238         * text2.C (insertParagraph): make it take ParagraphList::iterator
6239         as arg.
6240         (setLayout): make it return ParagraphList::iterator
6241         (redoParagraphs): ditto
6242         (setCounter): ditto
6243         (checkParagraph): ditto
6244
6245         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6246
6247         * text2.C: adjust several funcs.
6248         (realizeFont): take a ParagraphList::iterator as arg.
6249         (getLayoutFont): ditto
6250         (getLabelFont): ditto
6251         (setCharFont): ditto
6252
6253         * text.C: adjust several funcs.
6254
6255 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6256
6257         * text.C (selectNextWordToSpellcheck): don't accidentally
6258         skip insets
6259
6260 2003-04-10  John Levon  <levon@movementarian.org>
6261
6262         * ToolbarBackend.C (getIcon): special handling for
6263         LFUN_MATH_DELIM
6264
6265 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6266
6267         * text2.C (cursorRight): a getChar assert fixed
6268
6269 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6270
6271         * text2.C (getFont): change to take a ParagraphList::iterator
6272         instead of Paragraph*
6273         Adjust several functions.
6274
6275         * text.C (transformChar): change to take a ParagraphList::iterator
6276         instead of Paragraph*
6277         (singleWidth): ditto
6278         Adjust several functions.
6279
6280         * rowpainter.C: adjust several functions
6281         * rowpainter.h:store a ParagraphList::iterator and not a
6282         Paragraph&.
6283
6284
6285 2003-04-09  John Levon  <levon@movementarian.org>
6286
6287         * lyxfunc.C:
6288         * lfuns.h:
6289         * LyXAction.h:
6290         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6291         and the "help" bits as well
6292
6293 2003-04-09  John Levon  <levon@movementarian.org>
6294
6295         * ToolbarBackend.h:
6296         * ToolbarBackend.C: allow multiple toolbars
6297
6298 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * undo_funcs.C (setCursorParUndo): adjust
6301
6302         * text_funcs.C (transposeChars): adjust
6303
6304         * text3.C (gotoNextInset): adjust
6305         (dispatch): adjust
6306
6307         * text2.C (setLayout): adjust
6308         (changeDepth): adjust
6309         (setFont): adjust
6310         (redoParagraphs): adjust
6311         (selectionAsString): adjust
6312         (setParagraph): adjust
6313         (insertInset): adjust
6314         (cutSelection): adjust
6315         (copySelection): adjust
6316         (pasteSelection): adjust
6317         (insertStringAsLines): adjust
6318         (updateInset): adjust
6319         (setCursor): change to take a ParagraphList::iterator parameter
6320         (setCursorIntern): change to take a ParagraphList::iterator parameter
6321         (setCurrentFont): adjust
6322         (cursorLeft): adjust
6323         (cursorRight): adjust
6324         (deleteEmptyParagraphMechanism): adjust
6325
6326         * text.C (breakParagraph): adjust
6327         (insertChar): adjust
6328         (acceptChange): adjust
6329         (rejectChange): adjust
6330         (selectNextWordToSpellcheck): adjust
6331         (changeCase): adjust
6332         (Delete): adjust
6333         (backspace): adjust
6334
6335         * lyxfind.C (SearchForward): adjust
6336         (SearchBackward): adjust
6337         (nextChange): adjust
6338
6339         * lyxcursor.C (par): adjust
6340
6341         * lyxcursor.h: store a ParagraphList::iterator instead of a
6342         Paragraph*
6343
6344         * lyx_cb.C (getPossibleLabel): adjust
6345
6346         * bufferview_funcs.C (toggleAndShow): adjust
6347
6348         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6349         (dispatch): adjust
6350
6351         * BufferView.C (removeAutoInsets): adjust
6352         (lockedInsetStoreUndo): adjust
6353
6354 2003-04-09  John Levon  <levon@movementarian.org>
6355
6356         * ToolbarBackend.C: try icon without argument
6357         if with argument fails
6358
6359 2003-04-08  John Levon  <levon@movementarian.org>
6360
6361         * ToolbarBackend.h:
6362         * ToolbarBackend.C: add getIcon(), handle tooltip,
6363         and change from "Icon" to "Item".
6364
6365 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6366
6367         * BufferView.C (lockInset): another bad getchar crunched
6368
6369 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6370
6371         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6372         again)
6373
6374 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6375
6376         * lyxfind.C (searchForward, searchBackwards): bug 782
6377
6378 2003-04-07  John Levon  <levon@movementarian.org>
6379
6380         * paragraph.C: remove dead comment
6381
6382         * text.C: remove troublesome depth-fiddling code
6383         in leftMargin() and rightMargin() (bug 1017)
6384
6385         * text.C: fix breaking of rows in nested lists
6386         (bug 1004)
6387
6388         * text2.C (updateCounters): fix up depth values
6389         (bug 1013)
6390
6391 2003-04-07  John Levon  <levon@movementarian.org>
6392
6393         * BufferView_pimpl.C: clear message when doc finishes resizing,
6394         and after a mouse event
6395
6396         * lyxfunc.C: clear message after exiting inset
6397
6398 2003-04-07  John Levon  <levon@movementarian.org>
6399
6400         * bufferview_funcs.C: show math status not outside
6401         status in the statusbar
6402
6403 2003-04-07  John Levon  <levon@movementarian.org>
6404
6405         * lyxfunc.C: note status changed after a depth change
6406
6407 2003-04-04  Angus Leeming  <leeming@lyx.org>
6408
6409         * LaTeX.h: move AuxInfo operator==, != out of line.
6410         Remove LaTeX virtual destructor; nothing derives from it.
6411         Move operator()() out of public area and rename it startscript().
6412         Change protected for private.
6413
6414 2003-04-04  Angus Leeming  <leeming@lyx.org>
6415
6416         * lyxfunc.C:
6417         * text2.C: remove unneeded #includes.
6418
6419 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6420
6421         * text2.C (dEPM): fix the heigth of the next row
6422
6423 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6424
6425         * text.C: squashed an invalid getChar requester + some ws changes
6426
6427 2003-04-03  John Levon  <levon@movementarian.org>
6428
6429         * bufferview_funcs.h:
6430         * bufferview_funcs.C:
6431         * lyxfunc.C:
6432         * lyxtext.h:
6433         * text2.C: make getStatus work for the env depth lfuns
6434
6435 2003-04-03  John Levon  <levon@movementarian.org>
6436
6437         * bufferview_funcs.h:
6438         * bufferview_funcs.C:
6439         * lyxfunc.C:
6440         * lyxtext.h:
6441         * text2.C: parlistize decDepth(), by merging it with incDepth()
6442
6443 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * lyxrow.h: store a ParagraphList::iterator instead of a
6446         Paragraph* and adjust other class functions to suit.
6447
6448         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6449         above.
6450
6451 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6452
6453         * text2.C (setCursor): do not anchor to cursor row for the time being
6454
6455 2003-04-02  John Levon  <levon@movementarian.org>
6456
6457         * LyXAction.C:
6458         * lfuns.h:
6459         * lyx_main.C:
6460         * lyxtext.h:
6461         * text.C:
6462         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6463
6464 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6465
6466         * paragraph.h: make ParagraphList and ParagraphList::iterator
6467         friends of Paragraph.
6468
6469         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6470
6471         * ParagraphList.C: Use the private next_ and previous_ from
6472         Paragraph.
6473
6474 2003-04-01  John Levon  <levon@movementarian.org>
6475
6476         * ToolbarBackend.h:
6477         * ToolbarBackend.C:
6478         * Makefile.am: rename, remove defaults gunk
6479
6480         * MenuBackend.h:
6481         * MenuBackend.C: remove defaults gunk
6482
6483         * Languages.h:
6484         * Languages.C: remove defaults gunk
6485
6486         * lyx_main.h:
6487         * lyx_main.C: error out if files couldn't be found.
6488
6489 2003-04-02  John Levon  <levon@movementarian.org>
6490
6491         * text2.C: make incDepth() use parlist
6492
6493 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6494
6495         * undo_funcs.C (firstUndoParagraph): adjust
6496
6497         * text3.C (gotoInset): adjust
6498         (dispatch): adjust, and rewrite loop.
6499
6500         * text2.C (init): adjust, and rewrite loop.
6501         (redoParagraphs): adjust
6502         (updateInset): adjust, and rewrite loop.
6503         (deleteEmptyParagraphMechanism): adjust
6504
6505         * tabular.C (LyXTabular): adjust
6506         (SetMultiColumn): adjust
6507         (TeXRow): adjust
6508
6509         * lyxtext.[Ch] (ownerParagraph): delete function
6510         (ownerParagraphs): new function returns a ParagraphList.
6511
6512         * BufferView.C (removeAutoInsets): adjust
6513         (insertErrors): adjust
6514         (setCursorFromRow): adjust
6515
6516 2003-04-01  Angus Leeming  <leeming@lyx.org>
6517
6518         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6519         in the frontends.
6520
6521 2003-04-02  John Levon  <levon@movementarian.org>
6522
6523         * lyxtext.h:
6524         * text.C:
6525         * Makefile.am:
6526         * text_funcs.h:
6527         * text_funcs.C: make transposeChars a free function
6528
6529         * lyxrow_funcs.C: remove wrong comment
6530
6531 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6532
6533         * lyxtext.h: adjust
6534         * rowpainter.C: adjust
6535         * text.C: adjust
6536         * text2.C: adjust
6537         * text3.C: adjust
6538
6539         * lyxrow_funcs. [Ch]: new files
6540
6541         * lyxrow.[Ch]: remove next and previous pointers
6542         (next,previous): remove accessor functions
6543         (isParEnd): move to lyxrow_funcs
6544         (lastPos): move to lyxrow_funcs
6545         (nextRowIsAllInset): move to lyxrow_funcs
6546         (lastPrintablePos): move to lyxrow_funcs
6547         (numberOfSeparators): move to lyxrow_funcs
6548         (numberOfHfills): move to lyxrow_funcs
6549         (numberOfLabelHfills): move to lyxrow_funcs
6550         (hfillExpansion): move to lyxrow_funcs
6551
6552         * lyxfunc.C: adjust
6553
6554         * bufferview_funcs.C (toggleAndShow): adjust
6555
6556         * RowList.h: Remove class RowList from file leave just a
6557         std::list<Row>.
6558
6559         * RowList.C: delete file
6560
6561         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6562         and lyxrow_funcs.h
6563
6564 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6565
6566         * text3.C (cursorPrevious): adjust
6567         (cursorNext): adjust
6568         (dispatch): adjust
6569
6570         * text2.C (redoHeightOfParagraph): adjust
6571         (redoDrawingOfParagraph): adjust
6572         (setCursor): adjust
6573
6574         * text.C (breakParagraph): adjust
6575         (insertChar): adjust
6576         (backspace): adjust
6577
6578         * rowpainter.C (RowPainter): adjust
6579         (leftMargin): simplify and adjust
6580         (most rowpainter functions): adjust.
6581
6582         * rowpainter.h: store the row as RowList::iterator not as Row*
6583
6584         * lyxcursor.C (row): taka RowList::iterator as arg
6585         (irow): ditto
6586
6587         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6588         of Row*.
6589
6590 2003-04-01  Angus Leeming  <leeming@lyx.org>
6591
6592         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6593         stuff like bool Bool.
6594
6595 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6596
6597         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6598         rewrite a loop
6599
6600 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6603         RowList::iterator.
6604
6605         * lyxtext.h (rows): drop one version and leve a const variant that
6606         returns a RowList::iterator.
6607
6608 2003-03-31  Angus Leeming  <leeming@lyx.org>
6609
6610         * text.C (fill): ensure that the signature is the same as that in the
6611         header file.
6612
6613 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * text2.C (redoParagraphs): adjust
6616         (updateCounters): adjust
6617         (checkParagraph): adjust
6618         (getColumnNearX): adjust and reformat a bit.
6619
6620         * text.C (top_y): adjust
6621         (workWidth): adjust
6622         (leftMargin): adjust
6623         (prepareToPrint): adjust
6624         (getRow): adjust
6625         (getRowNearY): adjust
6626
6627         * lyxtext.h: make rowlist_ mutable.
6628
6629         * RowList.h: add const_iterator
6630         * RowList.C: adjust for RowList::const_iterator.
6631
6632         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6633         adjust.
6634
6635 2003-03-31  John Levon  <levon@movementarian.org>
6636
6637         * lyxrc.h:
6638         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6639
6640         * lyx_main.C: set default fonts from using lyx_gui funcs
6641
6642         * exporter.C: pdf_mode moved from lyxrc
6643
6644         * lyx_cb.C:
6645         * lyxfunc.C: changes from above
6646
6647 2003-03-31  John Levon  <levon@movementarian.org>
6648
6649         * lyx_main.C: fix to the last fix
6650
6651 2003-03-31  John Levon  <levon@movementarian.org>
6652
6653         * bufferlist.C: "Load original" -> "Load Original"
6654
6655         * converter.C:
6656         * exporter.C:
6657         * importer.C:
6658         * lyx_main.C:
6659         * format.C: more Alert cleanups
6660
6661 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6662
6663         * text2.C (removeParagraph): make it take a RowList::iterator as
6664         arg, adjust.
6665         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6666         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6667
6668         * text.C (anchor_row): make it take a RowList::iterator as arg,
6669         adjust.
6670         (computeBidiTables): make it take a const reference to Row instead
6671         of Row pointer, adjust.
6672         (leftMargin): make it take a RowList::iterator as arg, adjust.
6673         (rowBreakPoint): adjust
6674         (breakAgainOneRow): make it take a RowList::iterator as arg,
6675         adjust.
6676         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6677
6678         * bufferview_funcs.C (toggleAndShow): adjust
6679
6680 2003-03-30  John Levon  <levon@movementarian.org>
6681
6682         * Makefile.am:
6683         * BoostFormat.h:
6684         * boost-inst.C: moved to support
6685
6686         * several files: changes as a result
6687
6688 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * text2.C (LyXText): adjust.
6691         (init): adjust
6692         (removeRow): make it take a RowList::iterator as arg, adjust.
6693         (fullRebreak): adjust
6694         (deleteEmptyParagraphMechanism): adjust
6695         (clearPaint): adjust
6696         (postPaint): adjust
6697
6698         * text.C (top_y): adjust
6699         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6700         (breakAgain): make it take a RowList::iterator as arg, adjust.
6701         (breakParagraph): adjust
6702         (insertChar): adjust
6703         (backspace): adjust
6704
6705         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6706         need_break_row, and refresh_row.
6707
6708         * text3.C (dispatch): adjust
6709
6710         * text2.C (checkParagraph): adjust
6711         (setCursor): adjust
6712         (setCursorFromCoordinates): adjust
6713
6714         * text.C (top_y): adjust
6715         (workWidth): adjust
6716         (getRow): make it return a RowList::iterator, adjust
6717         (getRowNearY): make it return a RowList::iterator, adjust
6718
6719         * text2.C (init): adjust
6720         (insertRow): remove function
6721         (insertParagraph): adjust
6722         (redoParagraphs): adjust
6723         (fullRebreak): adjust
6724         (updateCounters): adjust
6725
6726         * text.C (top_y): rewrite to use RowList iterators.
6727         (top_y): adjust
6728         (setHeightOfRow): rewrite to sue RowList iterators.
6729         (appendParagraph): adjust
6730         (breakAgain): adjust
6731         (breakAgainOneRow): adjust
6732         (breakParagraph): adjust
6733         (getRow): adjust
6734         (getRowNearY): adjust, and remove commented code.
6735
6736         * lyxtext.h (firstRow): delete function
6737         (lastRow): delete function
6738         (rows): new function (const and non-const versions.)
6739         (insertRow): delete function
6740
6741         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6742
6743 2003-03-29  John Levon  <levon@movementarian.org>
6744
6745         * BufferView_pimpl.C: always update scrollbar top
6746         because pasting text when we're anchored could mean we
6747         miss an update altogether
6748
6749 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * text2.C (init): use rowlist_.end() and not 0.
6752         (insertRow): change to take a RowList::iterator as arg, adjust
6753         for this.
6754         (insertParagraph): change to take a RowList::iterator as arg,
6755         adjust for this.
6756         (redoParagraphs): remove some debug msgs.
6757
6758         * text.C (appendParagraph): change to take a RowList::iterator
6759         arg, adjust for this.
6760         (breakAgain): add an assert
6761         (breakAgainOneRow): ditto
6762
6763 2003-03-29  John Levon  <levon@movementarian.org>
6764
6765         * text2.C: do not clear selection after inc/decDepth
6766         (bug 550)
6767
6768 2003-03-29  John Levon  <levon@movementarian.org>
6769
6770         * BufferView.C:
6771         * buffer.C: fix broken strerrors according to Lars
6772
6773 2003-03-29  John Levon  <levon@movementarian.org>
6774
6775         * converters.C: more Alert cleanups
6776
6777 2003-03-29  John Levon  <levon@movementarian.org>
6778
6779         * bufferview_funcs.C: remove pointless Alert
6780
6781         * buffer.C: fix confusing error message when
6782         a template is chmoded 000
6783
6784 2003-03-29  John Levon  <levon@movementarian.org>
6785
6786         * BufferView.C:
6787         * BufferView.h:
6788         * BufferView_pimpl.C: Alert fixes
6789
6790         * Makefile.am:
6791         * tabular.C:
6792         * tabular-old.C: remove unused table compat reading
6793
6794 2003-03-29  John Levon  <levon@movementarian.org>
6795
6796         * BufferView.C:
6797         * buffer.C:
6798         * lyx_cb.h:
6799         * lyx_cb.C: more Alert cleanups
6800
6801         * lyxfunc.C: don't allow chktex if not latex document
6802
6803 2003-03-29  John Levon  <levon@movementarian.org>
6804
6805         * lyx_cb.C:
6806         * BufferView.C:
6807         * buffer.C: warnings pushed down from support/,
6808         kill err_alert
6809
6810 2003-03-29  John Levon  <levon@movementarian.org>
6811
6812         * lyxfunc.C: safety check for C-r (revert)
6813
6814 2003-03-29  John Levon  <levon@movementarian.org>
6815
6816         * bufferlist.h:
6817         * bufferlist.C: several UI fixes using Alert::prompt.
6818         Fix the pointless looping quit code. Fix stupid revert
6819         behaviour (bug 938)
6820
6821         * lyxvc.h:
6822         * lyxvc.C:
6823         * lyx_cb.C: use Alert::prompt
6824
6825         * lyx_main.C: remove a silly question
6826
6827         * lyxfunc.C: remove a couple of silly questions,
6828         use Alert::prompt
6829
6830 2003-03-28  John Levon  <levon@movementarian.org>
6831
6832         * text2.C: fix bug 974 (End on empty par)
6833
6834 2003-03-28  John Levon  <levon@movementarian.org>
6835
6836         * BufferView_pimpl.C:
6837         * LyXAction.C:
6838         * lfuns.h: remove do-nothing math greek lfuns
6839
6840 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6841
6842         * lyxgluelength.h (isValidGlueLength): add default arg on
6843         parameter 2. Remove default arg from friend in class.
6844
6845         * lyxlength.h (isValidLength): add default arg on parameter 2.
6846         Remove default arg from friend in class.
6847
6848         * text2.C (LyXText): adjust, initialize refresh_row.
6849         (init): adjust
6850         (removeRow): adjust
6851         (insertRow): adjust
6852         (insertParagraph): adjst
6853         (redoParagraphs): adjust
6854         (fullRebreak): adjust
6855         (updateCounters): adjust
6856         (deleteEmptyParagraphMechanism): first attempt at fixing a
6857         crashing bug.
6858
6859         * text.C (top_y): adjust
6860         (setHeightOfRow): adjust
6861         (getRow): adjust
6862         (getRowNearY): adjust
6863
6864         * lyxtext.h: include RowList.h
6865         (~LyXText): not needed anymore, deleted.
6866         (firstRow): modify for RowList
6867         (lastRow): new function
6868         Delete firstrow and lastrow class variables, add a Rowlist
6869         rowlist_ class variable.
6870
6871         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6872         paragraph is empty.
6873
6874         * RowList.C (insert): fix case where it == begin().
6875
6876 2003-03-26  Angus Leeming  <leeming@lyx.org>
6877
6878         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6879         the thesaurus dialog.
6880
6881 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6882
6883         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6884
6885         * RowList.[Ch]: new files
6886
6887         * ParagraphList.C (erase): handle the case where it == begin
6888         correctly.
6889
6890 2003-03-25  John Levon  <levon@movementarian.org>
6891
6892         * Makefile.am:
6893         * aspell_local.h:
6894         * aspell.C: add new aspell support
6895
6896         * lyxrc.h:
6897         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6898         have it accessible.
6899
6900 2003-03-25  Angus Leeming  <leeming@lyx.org>
6901
6902         * lfuns.h:
6903         * LyXAction.C (init): new LFUN_INSET_INSERT.
6904
6905         * BufferView_pimpl.C (dispatch): split out part of the
6906         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6907
6908         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6909         LFUN_INSET_APPLY.
6910
6911 2003-03-25  Angus Leeming  <leeming@lyx.org>
6912
6913         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6914
6915 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6916
6917         * text2.C:
6918         * text3.C: remove useless row->height(0)
6919
6920 2003-03-25  John Levon  <levon@movementarian.org>
6921
6922         * lyxtext.h:
6923         * text2.C:
6924         * text3.C: rename the refreshing stuff to better names
6925
6926 2003-03-24  John Levon  <levon@movementarian.org>
6927
6928         * BufferView_pimpl.h:
6929         * BufferView_pimpl.C: update layout choice on a mouse
6930         press/release
6931
6932 2003-03-23  John Levon  <levon@movementarian.org>
6933
6934         * Makefile.am: fix commandtags.h reference
6935
6936 2003-03-22  John Levon  <levon@movementarian.org>
6937
6938         * BufferView_pimpl.C:
6939         * lyxtext.h:
6940         * rowpainter.C:
6941         * rowpainter.h:
6942         * text.C:
6943         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6944
6945 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6946
6947         * lyxtext.h:
6948         * text.C: take the rtl methods out of line
6949
6950 2003-03-21 André Pönitz <poenitz@gmx.net>
6951
6952         * metricsinfo.[Ch]: new files containing structures to be passed around
6953         during the two-phase-drawing...
6954
6955 2003-03-21 André Pönitz <poenitz@gmx.net>
6956
6957         * lyxtextclass.C: read 'environment' tag.
6958
6959 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6960
6961         * text2.C (removeRow): fix bug 964
6962
6963 2003-03-20  John Levon  <levon@movementarian.org>
6964
6965         * rowpainter.C:
6966         * text.C:
6967         * text2.C: paint cleanups. Inset::update() dropped font
6968         parameter
6969
6970 2003-03-19  John Levon  <levon@movementarian.org>
6971
6972         * lyxfunc.C: only fitcursor/markDirty if available()
6973
6974 2003-03-19  John Levon  <levon@movementarian.org>
6975
6976         * commandtags.h: rename to ...
6977
6978         * lfuns.h: ... this, and renumber / cleanup
6979
6980 2003-03-19  John Levon  <levon@movementarian.org>
6981
6982         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6983         fit the cursor after an lfun
6984
6985         * BufferView.h:
6986         * BufferView.C:
6987         * BufferView_pimpl.h:
6988         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6989
6990         * LyXAction.C: layout-character should have ReadOnly
6991
6992         * ParagraphParameters.C:
6993         * buffer.C:
6994         * bufferview_funcs.C:
6995         * lyx_cb.C:
6996         * lyxfind.C:
6997         * lyxtext.h:
6998         * text.C:
6999         * text2.C:
7000         * text3.C:
7001         * undo_funcs.C: changes from above
7002
7003 2003-03-18  John Levon  <levon@movementarian.org>
7004
7005         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7006         remove it from update()
7007
7008         * lyxfunc.C: update layout choice after an lfun
7009
7010         * text3.C: remove extra updateLayoutChoice()s
7011
7012 2003-03-18  John Levon  <levon@movementarian.org>
7013
7014         * text.C: top_y change means full repaint, fix
7015         a drawing bug with cursor movement
7016
7017 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7018
7019         * lyxtext.h:
7020         * text.C:
7021         * text2.C: anchor row on setCursor
7022
7023 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7024
7025         * lyxtext.h: remove almost all mutable keywords
7026         * text.C:
7027         * text2.C:
7028         * text3.C: remove const keywords accordingly
7029
7030 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7031
7032         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7033         anon namespace
7034         (TeXEnvironment): ditto
7035         (TeXOnePar): ditto
7036
7037 2003-03-17  John Levon  <levon@movementarian.org>
7038
7039         * text.C (rowBreakPoint): remove attempt to fix displayed
7040         math insets inside a manual label
7041
7042 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * lyxtext.h: remove BufferView* as first arg from almost all class
7045         functions.
7046         * other files: adjust.
7047
7048 2003-03-17  John Levon  <levon@movementarian.org>
7049
7050         * lyxtext.h:
7051         * undo_funcs.C:
7052         * text2.C: more paint cleanups
7053
7054         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7055
7056         * rowpainter.h:
7057         * rowpainter.C: remove "smart" background painting code
7058
7059 2003-03-16  John Levon  <levon@movementarian.org>
7060
7061         * lyxtext.h:
7062         * text.C:
7063         * text2.C:
7064         * text3.C: add helper functions for setting refresh_row/y
7065
7066 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7067
7068         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7069         newline inset which *can* get inserted in the pass_thru layouts.
7070         This is primarily for literate documents.
7071
7072 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7073
7074         * buffer.C: increment LYX_FORMAT to 223
7075
7076 2003-03-14 André Pönitz <poenitz@gmx.net>
7077
7078         * textclass.h: prepare for environment handling, ws changes
7079         * lyxlayout.C: read latexheader and latexfooter tags
7080
7081 2003-03-14  John Levon  <levon@movementarian.org>
7082
7083         * text2.C: rewrite ::status() a bit
7084
7085 2003-03-13  John Levon  <levon@movementarian.org>
7086
7087         * lyxtext.h: add some docs
7088
7089 2003-03-13  John Levon  <levon@movementarian.org>
7090
7091         * lyxtext.h:
7092         * text.C:
7093         * text2.C:
7094         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7095
7096 2003-03-13  John Levon  <levon@movementarian.org>
7097
7098         * text3.C: fix appendix redrawing
7099
7100 2003-03-13  John Levon  <levon@movementarian.org>
7101
7102         * text.C (setHeightOfRow):
7103         * rowpainter.h:
7104         * rowpainter.C: make appendix mark have the text
7105           "Appendix" so the user knows what it is
7106
7107         * LColor.h:
7108         * LColor.C: s/appendixline/appendix/ from above
7109
7110 2003-03-13  John Levon  <levon@movementarian.org>
7111
7112         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7113
7114         * text.C: fix a getChar(pos) bug properly
7115
7116 2003-03-13  Angus Leeming  <leeming@lyx.org>
7117
7118         * commandtags.h:
7119         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7120         Probably only temporary. Let's see how things pan out.
7121
7122         * BufferView.C (unlockInset):
7123         * BufferView_pimpl.C (fitCursor):
7124         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7125
7126         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7127         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7128
7129         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7130         new functions that convert ParagraphParameters to and from a string.
7131
7132         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7133         BufferView::Pimpl's dispatch.
7134         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7135
7136 2003-03-13 André Pönitz <poenitz@gmx.net>
7137
7138         * lyxfunc.C:
7139         * text3.C:
7140         * factory.C: make it aware of InsetEnv
7141
7142 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7143
7144         * text2.C (setCursor): never ask for one past last
7145         (setCursor): add some debugging messages.
7146
7147         * text.C (singleWidth): never ask for one past last
7148         (singleWidth): ditto
7149         (leftMargin): ditto
7150         (rightMargin): ditto
7151         (rowBreakPoint): ditto
7152         (setHeightOfRow): ditto
7153         (prepareToPrint): ditto
7154
7155         * rowpainter.C (paintBackground): never ask for one past last
7156         (paintText): never ask for one past last
7157
7158         * paragraph_pimpl.C (getChar): make the assert stricter, never
7159         allow the one past last pos to be taken
7160
7161         * paragraph.C (getChar): ws changes only
7162
7163         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7164         (numberOfSeparators): ditto
7165         (numberOfHfills): ditto
7166
7167 2003-03-12  John Levon  <levon@movementarian.org>
7168
7169         * author.h:
7170         * author.C:
7171         * bufferparams.h:
7172         * bufferparams.C:
7173         * paragraph_funcs.C: fix per-buffer authorlists
7174
7175 2003-03-12  John Levon  <levon@movementarian.org>
7176
7177         * text.C: fix newline in right address
7178
7179 2003-03-12  Angus Leeming  <leeming@lyx.org>
7180
7181         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7182         duplicate those in LyXFunc::dispatch.
7183
7184         * commandtags.h:
7185         * LyXAction.C:
7186         * ToolbarDefaults.C:
7187         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7188         Add LFUN_FONTFREE_UPDATE.
7189
7190         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7191         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7192
7193         * bufferview_func.[Ch]: several new functions to facilliate
7194         transfer of data to and from the character dialog.
7195
7196 2003-03-12  John Levon  <levon@movementarian.org>
7197
7198         * buffer.C:
7199         * paragraph.h:
7200         * paragraph.C:
7201         * paragraph_funcs.C:
7202         * paragraph_pimpl.C:
7203         * sgml.C:
7204         * tabular.C:
7205         * text.C:
7206         * text3.C: remove META_NEWLINE in favour of an inset
7207
7208         * rowpainter.h:
7209         * rowpainter.C: remove paintNewline (done by inset)
7210
7211 2003-03-12  John Levon  <levon@movementarian.org>
7212
7213         * paragraph_pimpl.C: complain about bad getChar()s
7214         for a while at least
7215
7216 2003-03-12  John Levon  <levon@movementarian.org>
7217
7218         * buffer.h:
7219         * buffer.C: move paragraph read into a separate function,
7220         a little renaming to reflect that.
7221
7222         * bufferparams.h:
7223         * bufferparams.C: remove the author_ids map, not necessary now
7224
7225         * factory.h:
7226         * factory.C: moved Buffer::readInset to here
7227
7228         * paragraph_funcs.h:
7229         * paragraph_funcs.C: readParagraph free function moved from
7230         buffer.C
7231
7232         * tabular.C: name change
7233
7234 2003-03-12  John Levon  <levon@movementarian.org>
7235
7236         * buffer.C:
7237         * ParagraphParameters.C: move par params input to
7238         a read() method
7239
7240         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7241         behave like a normal read from the stream wrt reading
7242         a line vs. a \\token
7243
7244 2003-03-12  John Levon  <levon@movementarian.org>
7245
7246         * paragraph.C:
7247         * ParagraphParameters.h:
7248         * ParagraphParameters.C: move output code to a
7249         ::write() method
7250
7251 2003-03-12  John Levon  <levon@movementarian.org>
7252
7253         * BufferView.C (insertLyXFile):
7254         * buffer.h:
7255         * buffer.C:
7256         * tabular.C: use a parlist iterator for creating the
7257           document.
7258
7259 2003-03-12  John Levon  <levon@movementarian.org>
7260
7261         * buffer.C: make current_change static local not
7262           static file-scope
7263
7264 2003-03-12  John Levon  <levon@movementarian.org>
7265
7266         * buffer.C: fix insertStringAsLines for change tracking
7267
7268 2003-03-12  John Levon  <levon@movementarian.org>
7269
7270         * BufferView.C:
7271         * tabular.C:
7272         * buffer.h:
7273         * buffer.C:
7274         * bufferparams.h:
7275         * bufferparams.C: move author list into params. Rename some
7276           functions. Move the header reading into a separate token
7277           loop. Move the header token reading into BufferParams.
7278
7279 2003-03-12  John Levon  <levon@movementarian.org>
7280
7281         * changes.C: put debug inside lyxerr.debugging() checks
7282
7283 2003-03-11 André Pönitz <poenitz@gmx.net>
7284
7285         * factory.C: make it aware of InsetHFill
7286
7287 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7288
7289         * buffer.C (latexParagraphs): move function from here...
7290         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7291         args.
7292
7293 2003-03-10  Angus Leeming  <leeming@lyx.org>
7294
7295         * LyXAction.C (init): fix bug in poplating array with multiple entries
7296         with the same LFUN (spotted by JMarc).
7297
7298 2003-03-10  John Levon  <levon@movementarian.org>
7299
7300         * text.C:
7301         * text2.C: move getColumnNearX() near its
7302         only call site
7303
7304 2003-03-10  John Levon  <levon@movementarian.org>
7305
7306         * text.C: fix break before a minipage
7307
7308 2003-03-10  John Levon  <levon@movementarian.org>
7309
7310         * text.C: fix the last commit
7311
7312 2003-03-09  John Levon  <levon@movementarian.org>
7313
7314         * lyxtext.h:
7315         * text.C:
7316         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7317         bug 365 (don't break before insets unless needed). Don't
7318         return a value > last under any circumstances.
7319
7320 2003-03-09  Angus Leeming  <leeming@lyx.org>
7321
7322         * BufferView_pimpl.C (trackChanges, dispatch): call
7323         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7324
7325 2003-03-09  Angus Leeming  <leeming@lyx.org>
7326
7327         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7328         than Dialogs::showAboutlyx().
7329
7330 2003-03-09  Angus Leeming  <leeming@lyx.org>
7331
7332         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7333         than Dialogs::showTabularCreate().
7334
7335 2003-03-09  John Levon  <levon@movementarian.org>
7336
7337         * lyxtext.h:
7338         * text.C:
7339         * text2.C: 3rd arg to nextBreakPoint was always the same.
7340           Use references.
7341
7342 2003-03-08  John Levon  <levon@movementarian.org>
7343
7344         * lyxrow.C:
7345         * paragraph.C:
7346         * paragraph.h:
7347         * rowpainter.C:
7348         * text.C:
7349         * text2.C: Remove the "main" bit from the "main body"
7350           notion.
7351
7352 2003-03-08  John Levon  <levon@movementarian.org>
7353
7354         * text.C (leftMargin): The left margin of an empty
7355         manual label paragraph should not include the label width
7356         string length.
7357
7358         * text.C (prepareToPrint): don't attempt to measure hfills
7359         for empty manual label paragraphs - the answer should be 0
7360
7361 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7362
7363         * CutAndPaste.C: remove commented code and reindent.
7364
7365 2003-03-08  John Levon  <levon@movementarian.org>
7366
7367         * lyxfunc.h:
7368         * lyxfunc.C: move reloadBuffer()
7369
7370         * BufferView.h:
7371         * BufferView.C: to here
7372
7373         * lyxvc.C: add comment
7374
7375         * vc-backend.h:
7376         * vc-backend.C: call bv->reload() to avoid
7377           getStatus() check on MENURELOAD
7378
7379 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7380
7381         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7382         to an old format .dep file.
7383
7384 2003-03-07  Angus Leeming  <leeming@lyx.org>
7385
7386         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7387         when the LFUN_MOUSE_RELEASE should have been handled by
7388         inset->localDispatch.
7389
7390 2003-03-07  Angus Leeming  <leeming@lyx.org>
7391
7392         * BufferView_pimpl.C (dispatch):
7393         * LyXAction.C (init):
7394         * ToolbarDefaults.C (init):
7395         * commandtags.h:
7396         * lyxfunc.C (getStatus):
7397         remove LFUN_INSET_GRAPHICS.
7398
7399         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7400
7401 2003-03-07  Angus Leeming  <leeming@lyx.org>
7402
7403         * commandtags.h:
7404         * LyXAction.C (init):
7405         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7406
7407         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7408
7409         * commandtags.h:
7410         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7411
7412         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7413         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7414
7415 2003-03-07  Angus Leeming  <leeming@lyx.org>
7416
7417         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7418         remove "ert".
7419
7420 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7421
7422         * ParagraphList.C (front): new function
7423         (back): implement
7424
7425 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7426
7427         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7428         and top_row_offset_. removed var first_y.
7429         * text.C (top_y):
7430         * text2.C (LyXText, removeRow):
7431         * text3.C:
7432         * BufferView_pimpl.C:
7433         use these methods instead of using first_y
7434
7435 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7436
7437         * text2.C (pasteSelection): adjust for checkPastePossible
7438
7439         * CutAndPaste.C: remove Paragraph * buf and replace with
7440         ParagraphList paragraphs.
7441         (DeleteBuffer): delete
7442         (cutSelection): change the tc type to textclass_type
7443         (copySelection): change the tc type to textclass_type
7444         (copySelection): adjust for ParagraphList
7445         (pasteSelection): change the tc type to textclass_type
7446         (pasteSelection): adjust for Paragraphlist
7447         (nrOfParagraphs): simplify for ParagraphList
7448         (checkPastePossible): simplify for ParagraphList
7449         (checkPastePossible): remove unused arg
7450
7451         * ParagraphList.C (insert): handle the case where there are no
7452         paragraphs yet.
7453
7454         * CutAndPaste.h: make CutAndPaste a namespace.
7455
7456         * text3.C (dispatch): adjust
7457
7458         * text.C (breakParagraph): add a ParagraphList as arg
7459
7460         * paragraph_funcs.C (breakParagraph): change to take a
7461         BufferParams and a ParagraphList as args.
7462         (breakParagraphConservative): ditto
7463         (mergeParagraph): ditto
7464         (TeXDeeper): add a ParagraphList arg
7465         (TeXEnvironment): ditto
7466         (TeXOnePar): ditto
7467
7468         * buffer.C (readLyXformat2): adjust
7469         (insertStringAsLines): adjust
7470         (latexParagraphs): adjust
7471
7472         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7473         (cutSelection): adjust
7474         (pasteSelection): adjust
7475
7476         * BufferView_pimpl.C (insertInset): adjust
7477
7478 2003-03-05  Angus Leeming  <leeming@lyx.org>
7479
7480         * commandtags.h:
7481         * LyXAction.C (init):
7482         * BufferView_pimpl.C (dispatch):
7483         * lyxfunc.C (getStatus):
7484         remove LFUN_CHILD_INSERT.
7485
7486         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7487
7488 2003-03-05  Angus Leeming  <leeming@lyx.org>
7489
7490         * commandtags.h:
7491         * LyXAction.C (init):
7492         * src/factory.C (createInset):
7493         * lyxfunc.C (getStatus):
7494         * text3.C (dispatch):
7495         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7496
7497         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7498
7499 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7500
7501         * ParagraphList.C (insert): handle insert right before end()
7502         (erase): fix cases where it can be first or last paragraph.
7503
7504 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7507         Paragraph::next and Paragraph::previous
7508         (TeXOnePar): ditto
7509
7510         * text.C (breakParagraph): adjust
7511
7512         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7513         BufferParams& as arg.
7514         (breakParagraph): use ParagraphList::insert
7515         (breakParagraphConservative): take a Buffer* instead of a
7516         BufferParams& as arg.
7517         (breakParagraphConservative): use ParagraphList::insert.
7518
7519         * buffer.C (insertStringAsLines): un-const it
7520         (insertStringAsLines): adjust
7521
7522         * ParagraphList.C (insert): new function
7523
7524         * CutAndPaste.C (pasteSelection): adjust
7525
7526         * text.C (backspace): adjust
7527
7528         * tabular.C (SetMultiColumn): adjust
7529
7530         * CutAndPaste.C (cutSelection): adjust
7531         (pasteSelection): adjust
7532
7533         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7534         Buffer const * as arg
7535
7536         * ParagraphList.C (erase): new function
7537         * paragraph_funcs.C (mergeParagraph): use it
7538         (mergeParagraph): make it take a Buffer* instead of a
7539         BufferParams* as arg
7540
7541         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7542         as arg
7543         (breakParagraphConservative): ditto
7544
7545         * paragraph.h: remove the breakParagraph friend
7546
7547         * paragraph.C (eraseIntern): new function
7548         (setChange): new function
7549
7550         * paragraph_funcs.C (mergeParagraph): make it take a
7551         ParagraphList::iterator instead of a Paragraph *, adjust
7552         accordingly.
7553
7554         * paragraph.h: move an #endif so that the change tracking stuff
7555         also works in the NO_NEXT case.
7556
7557 2003-03-04  Angus Leeming  <leeming@lyx.org>
7558
7559         * commandtags.h:
7560         * LyXAction.C: new LFUN_INSET_MODIFY.
7561
7562         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7563         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7564
7565 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7566
7567         * several files: ws changes only
7568
7569         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7570         (TeXEnvironment): ditto
7571         (TeXDeeper): ditto
7572
7573         * buffer.C (makeLaTeXFile): adjust
7574         (latexParagraphs): make it take ParagraphList::iterator as args
7575
7576 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7577
7578         * buffer.C (latexParagraphs): adjust
7579
7580         * paragraph.C (TeXOnePar): move function...
7581         (optArgInset): move function...
7582         (TeXEnvironment): move function...
7583         * paragraph_pimpl.C (TeXDeeper): move function...
7584         * paragraph_funcs.C: ...here
7585
7586         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7587
7588 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * buffer.C (readInset): remove compability code for old Figure and
7591         InsetInfo insets
7592
7593 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * buffer.C: ws changes
7596         (readInset):
7597
7598         * BufferView_pimpl.C: ditto
7599         * author.C: ditto
7600         * buffer.h: ditto
7601         * bufferlist.h: ditto
7602         * changes.h: ditto
7603         * lyxfunc.C: ditto
7604
7605 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7606
7607         * converter.[Ch]: split into itself +
7608         * graph.[Ch]
7609         * format.[Ch]
7610         * Makefile.am: += graph.[Ch] + format.[Ch]
7611         * MenuBackend.C
7612         * buffer.C
7613         * exporter.C
7614         * importer.C
7615         * lyx_main.C
7616         * lyxfunc.C
7617         * lyxrc.C: added #include "format.h"
7618
7619 2003-02-27  Angus Leeming  <leeming@lyx.org>
7620
7621         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7622           a label.
7623
7624         * factory.C (createInset): add "label" to the factory.
7625
7626         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7627           string and do no more.
7628
7629 2003-02-27  Angus Leeming  <leeming@lyx.org>
7630
7631         * commandtags.h:
7632         * LyXAction.C (init):
7633         * factory.C (createInset):
7634         * BufferView_pimpl.C (dispatch):
7635           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7636
7637         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7638
7639         * lyxfunc.C (dispatch):
7640         * text3.C (dispatch): pass name to params2string.
7641
7642 2003-02-26  Angus Leeming  <leeming@lyx.org>
7643
7644         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7645           blocks together.
7646           Rearrange the ~includes. Strip out the unnecessary ones.
7647
7648         * factory.C (createInset): reformat.
7649           create new insets for the various LFUN_XYZ_APPLY lfuns.
7650
7651 2003-02-26  John Levon  <levon@movementarian.org>
7652
7653         * lyxrow.h:
7654         * lyxrow.C: add isParStart,isParEnd helpers
7655
7656         * paragraph.h: make isInserted/DeletedText take refs
7657
7658         * paragraph_funcs.h:
7659         * paragraph_funcs.C: remove #if 0'd code
7660
7661         * lyxtext.h:
7662         * text3.C:
7663         * text2.C:
7664         * text.C: use lyxrow helpers above.
7665           Move draw and paint routines to RowPainter.
7666           Make several methods use refs not pointers.
7667           Make backgroundColor() const.
7668           Add markChangeInDraw(), isInInset().
7669           Merge changeRegionCase into changeCase.
7670           Make workWidth() shouldn't-happen code into an Assert.
7671
7672         * rowpainter.h:
7673         * rowpainter.C: new class for painting a row.
7674
7675         * vspace.h:
7676         * vspace.C: make inPixels take a ref
7677
7678 2003-02-26  Angus Leeming  <leeming@lyx.org>
7679
7680         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7681         LFUN_REF_APPLY.
7682
7683 2003-02-25  John Levon  <levon@movementarian.org>
7684
7685         * ispell.C: give the forked command a more accurate name
7686
7687 2003-02-22  John Levon  <levon@movementarian.org>
7688
7689         * toc.h:
7690         * toc.C: make TocItem store an id not a Paragraph *
7691           (bug #913)
7692
7693 2003-02-21  Angus Leeming  <leeming@lyx.org>
7694
7695         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7696           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7697           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7698           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7699           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7700           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7701
7702         * BufferView_pimpl.C (dispatch):
7703         * LyXAction.C (init):
7704         * factory.C (createInset):
7705         * lyxfunc.C (getStatus, dispatch):
7706         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7707
7708 2003-02-21  Angus Leeming  <leeming@lyx.org>
7709
7710         * BufferView_pimpl.C (MenuInsertLyXFile):
7711         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7712         * lyxfunc.C (menuNew, open, doImport):
7713           no longer pass a LyXView & to fileDlg.
7714
7715 2003-02-21  Angus Leeming  <leeming@lyx.org>
7716
7717         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7718         * LyXAction.C: change, BIBKEY to BIBITEM.
7719         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7720         Change InsetBibKey to InsetBibitem.
7721         Change BIBKEY_CODE to BIBITEM_CODE.
7722         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7723         * factory.C: replace insetbib.h with insetbibitem.h.
7724         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7725         * paragraph.C: replace insetbib.h with insetbibitem.h.
7726         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7727         Change bibkey() to bibitem().
7728         * text.C: remove insetbib.h.
7729         * text2.C: replace insetbib.h with insetbibitem.h.
7730         change bibkey() to bibitem().
7731         * text3.C: remove insetbib.h.
7732         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7733
7734 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7735
7736         * lyxrc.C (output): enclose user email in quotes (in case there are
7737         several words)
7738
7739 2003-02-18  John Levon  <levon@movementarian.org>
7740
7741         * buffer.h: add std::
7742
7743 2003-02-17  John Levon  <levon@movementarian.org>
7744
7745         * SpellBase.h:
7746         * ispell.h:
7747         * ispell.C:
7748         * pspell.h:
7749         * pspell.C: reworking. Especially in ispell, a large
7750           number of clean ups and bug fixes.
7751
7752         * lyxfunc.C: fix revert to behave sensibly
7753
7754 2003-02-17 André Pönitz <poenitz@gmx.net>
7755
7756         * LyXAction.C:
7757         * commandtags.h: new LFUN_INSERT_BIBKEY
7758
7759         * layout.h:
7760         * lyxlayout.C:
7761         * buffer.C:
7762         * factory.C:
7763         * text.C:
7764         * text2.C:
7765         * text3.C:
7766         * paragraph.[Ch]:
7767         * paragraph_func.C: remove special bibkey handling
7768
7769 2003-02-17  John Levon  <levon@movementarian.org>
7770
7771         * text.C (Delete): fix case where delete at the end of
7772           the very first paragraph would not merge the pars
7773
7774 2003-02-17  John Levon  <levon@movementarian.org>
7775
7776         * lyxrow.C: fix lastPrintablePos()
7777
7778 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7779
7780         * bufferparams.C (writeLaTeX): add a std:here
7781
7782         * buffer.C: and remove a using directive there
7783
7784 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7785
7786         * buffer.C (makeLaTeXFile): move the code that generates the
7787           preamble...
7788
7789         * bufferparams.C (writeLaTeX): ... in this new method
7790
7791         * LaTeXFeatures.C (getEncodingSet): make const
7792           (getLanguages): make const
7793
7794         * MenuBackend.C (binding): returns the binding associated to this
7795           action
7796           (add): sets the status of each item by calling getStatus. Adds
7797           some intelligence.
7798           (read): add support for OptSubMenu
7799           (expand): remove extra separator at the end of expanded menu
7800
7801 2003-02-15  John Levon  <levon@movementarian.org>
7802
7803         * BufferView.C:
7804         * BufferView_pimpl.C:
7805         * bufferlist.h:
7806         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7807           inset code that had no actual effect. Remove unneeded status
7808           code.
7809
7810 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7811
7812         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7813           in preamble
7814
7815 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7816
7817         * text.C (drawLengthMarker): also draw an arrow marker for
7818           symbolic lengths (medskip...)
7819
7820 2003-02-14  John Levon  <levon@movementarian.org>
7821
7822         * tabular.h:
7823         * tabular.C: better method names
7824
7825 2003-02-14  John Levon  <levon@movementarian.org>
7826
7827         * BufferView_pimpl.C:
7828         * bufferlist.C:
7829         * buffer.C:
7830         * converter.C:
7831         * lyx_cb.C:
7832         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7833           it's a more accurate name. Remove some pointless uses.
7834
7835 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7836
7837         * text2.C (LyXText): change order of initilizers to shut off
7838           warnings
7839
7840 2003-02-14  John Levon  <levon@movementarian.org>
7841
7842         * buffer.C: use ParIterator for getParFromID()
7843
7844         * paragraph.h:
7845         * paragraph.C:
7846         * paragraph_pimpl.h:
7847         * paragraph_pimpl.C: remove unused getParFromID()
7848
7849 2003-02-14  John Levon  <levon@movementarian.org>
7850
7851         * buffer.C: remove some very old #if 0'd parse code
7852
7853 2003-02-13  John Levon  <levon@movementarian.org>
7854
7855         * text.h:
7856         * text.C:
7857         * text2.C: move hfillExpansion(), numberOfSeparators(),
7858           rowLast(), rowLastPrintable(), numberofHfills(),
7859           numberOfLabelHfills() ...
7860
7861         * lyxrow.h:
7862         * lyxrow.C: ... to member functions here.
7863
7864         * paragraph.h:
7865         * paragraph.C:
7866         * lyxtext.h:
7867         * text.C: remove LyXText::beginningOfMainBody(), and call
7868           p->beginningOfMainBody() directly. Move the check for
7869           LABEL_MANUAL into the latter.
7870
7871         * text.h:
7872         * text.C:
7873         * text2.C:
7874         * vspace.C:
7875         * BufferView.h:
7876         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7877
7878         * text.h:
7879         * text.C:
7880         * text2.C:
7881         * text3.C:
7882         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7883           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7884
7885 2003-02-13  John Levon  <levon@movementarian.org>
7886
7887         * CutAndPaste.C: remove debug
7888
7889 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7890
7891         * paragraph.C (asString): remove two unused variables
7892
7893         * lyxtextclass.C (readTitleType):
7894           (Read):
7895           (LyXTextClass): handle new members titletype_ and titlename_
7896
7897         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7898
7899 2003-02-09  John Levon  <levon@movementarian.org>
7900
7901         * buffer.h:
7902         * buffer.C: replace hand-coded list with a map for the dep clean
7903
7904 2003-02-08  John Levon  <levon@movementarian.org>
7905
7906         * LaTeX.C: consolidate code into showRunMessage() helper
7907
7908 2003-02-08  John Levon  <levon@movementarian.org>
7909
7910         * lyxfind.C:
7911         * lyxtext.h:
7912         * text2.C:
7913         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7914           and pass the size in explicitly
7915
7916         * BufferView_pimpl.h:
7917         * BufferView_pimpl.C:
7918         * BufferView.h:
7919         * BufferView.C: add getCurrentChange()
7920
7921         * BufferView_pimpl.h:
7922         * BufferView_pimpl.C: handle change lfuns
7923
7924         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7925           for changes. Mark pasted paragraphs as new.
7926
7927         * support/lyxtime.h:
7928         * support/lyxtime.C:
7929         * DepTable.C: abstract time_t as lyx::time_type
7930
7931         * LColor.h:
7932         * LColor.C: add colours for new text, deleted text, changebars
7933
7934         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7935           package use "usenames" option.
7936
7937         * commandtags.h:
7938         * lyxfunc.C:
7939         * LyXAction.C: add change lfuns
7940
7941         * Makefile.am:
7942         * author.h:
7943         * author.C: author handling
7944
7945         * buffer.h:
7946         * buffer.C: add a per-buffer author list, with first entry as
7947           current author. Handle new .lyx tokens for change tracking. Output
7948           author list to .lyx file. Output dvipost stuff to .tex preamble.
7949           Bump lyx format to 222.
7950
7951         * bufferlist.h:
7952         * bufferlist.C: add setCurrentAuthor() to reset current author details
7953           in all buffers.
7954
7955         * bufferparams.h:
7956         * bufferparams.C: add param for tracking
7957
7958         * bufferview_funcs.C: output change info in minibuffer
7959
7960         * Makefile.am:
7961         * changes.h:
7962         * changes.C: add change-tracking structure
7963
7964         * debug.h:
7965         * debug.C: add CHANGES debug flag
7966
7967         * lyxfind.h:
7968         * lyxfind.C: add code for finding the next change piece
7969
7970         * lyxrc.h:
7971         * lyxrc.C: add user_name and user_email
7972
7973         * lyxrow.h:
7974         * lyxrow.C: add a metric for the top of the text line
7975
7976         * lyxtext.h:
7977         * text.C: implement accept/rejectChange()
7978
7979         * lyxtext.h:
7980         * text.C: paint changebars. Paint new/deleted text in the chosen
7981         colours. Strike through deleted text.
7982
7983         * paragraph.h:
7984         * paragraph.C:
7985         * paragraph_pimpl.h:
7986         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7987           in the current change to the insert functions. Rework erase to
7988           mark text as deleted, adding an eraseIntern() and a range-based
7989           erase(). Implement per-paragraph change lookup and
7990           accept/reject.
7991
7992         * paragraph_funcs.C: Fixup paste for change tracking.
7993
7994         * tabular.C: mark added row/columns as new.
7995
7996         * text.C: fix rowLast() to never return -1. Don't allow
7997           spellchecking of deleted text. Track transpose changes. Don't
7998           allow paragraph break or merge where appropriate.
7999
8000         * text2.C: leave cursor at end of selection after a cut.
8001
8002 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8003
8004         * text.C (getLengthMarkerHeight):
8005         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8006         visible on screen too.
8007
8008 2003-02-07  John Levon  <levon@movementarian.org>
8009
8010         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8011
8012 2003-02-05  Angus Leeming  <leeming@lyx.org>
8013
8014         * lyxserver.C (read_ready): revert my patch of 11 September last year
8015         as it sends PC cpu through the roof. Presumably this means that
8016         the lyxserver will no longer run on an Alpha...
8017
8018 2003-01-30  Angus Leeming  <leeming@lyx.org>
8019
8020         * factory.C (createInset): create an InsetCommandParam of type "index"
8021         and use it to 'do the right thing'.
8022
8023         * text2.C (getStringToIndex): ensure that cursor position is always
8024         reset to the reset_cursor position.
8025
8026 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8027
8028         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8029         disabled.
8030
8031 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8032
8033         * bufferview.C:
8034         * lyxcb.C:
8035         * lyxfunc.C: Output messages with identical spelling, punctuation,
8036         and spaces
8037
8038 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8039
8040         * MenuBackend.C (expandFormats): List only viewable export formats
8041         in "View" menu
8042
8043         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8044         message
8045
8046         * lyxfunc.C (getStatus): Make sure that formats other than
8047         "fax" can also be disabled
8048
8049 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8050
8051         * text3.C (dispatch): put the lfuns that insert insets in 3
8052         groups, and call doInsertInset with appropriate arguments.
8053         (doInsertInset): new function, that creates an inset and inserts
8054         it according to some boolean parameters.
8055
8056 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8057
8058         * buffer.C (readFile): remember to pass on 'par' when calling
8059         readFile recursively.
8060
8061 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8062
8063         * MenuBackend.C (expandFormats): add "..." to import formats.
8064
8065 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8066
8067         * paragraph.C (asString): Remove XForms RTL hacks.
8068
8069 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8070         * buffer.C: fix typo
8071
8072 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8073
8074         * Makefile.am (LIBS): delete var
8075         (lyx_LDADD): add @LIBS@ here instead.
8076
8077 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8078
8079         * Clarify the meaning of "wheel mouse jump"
8080
8081 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8082
8083         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8084         tabular in a float
8085
8086 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8087
8088         * importer.C (Loaders): do not preallocate 3 elements in the
8089         vector, since one ends up with 6 elements otherwise
8090
8091 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8092
8093         * DepTable.C (write): write the file name as last element of the
8094         .dep file (because it may contain spaces)
8095         (read): read info in the right order
8096
8097 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8098
8099         * paragraph_pimpl.C (simpleTeXBlanks):
8100         (simpleTeXSpecialChars):
8101         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8102
8103         * tabular.C (latex): add some missing case statements. Reindent.
8104
8105         * MenuBackend.C (expandToc): remove unused variable.
8106
8107 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8108
8109         * LColor.C:
8110         * LaTeX.C:
8111         * LyXAction.C:
8112         * MenuBackend.C:
8113         * buffer.C:
8114         * exporter.C:
8115         * lyxfunc.C:
8116         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8117         and the like.
8118
8119 2003-01-05  John Levon  <levon@movementarian.org>
8120
8121         * BufferView.h:
8122         * BufferView.C: add getEncoding()
8123
8124         * kbsequence.h:
8125         * kbsequence.C: do not store last keypress
8126
8127         * lyxfunc.h:
8128         * lyxfunc.C: store last keypress here instead. Pass encoding
8129           to getISOEncoded()
8130
8131 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8132
8133         * lyx_main.C (init): remove annoying error message when following
8134         symbolic links (bug #780)
8135
8136 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8137
8138         * text.C (insertChar):
8139         * lyxrc.C (getDescription): remove extra spaces
8140
8141 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8142
8143         * lyxrc.C (getDescription): remove extra spaces
8144
8145 2002-12-20  John Levon  <levon@movementarian.org>
8146
8147         * text3.C: hack fix for page up/down across tall rows
8148
8149 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8150
8151         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8152         not been invoked
8153
8154 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8155
8156         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8157         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8158         thesaurus is not compiled in
8159
8160 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8161
8162         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8163
8164 2002-12-16  Angus Leeming  <leeming@lyx.org>
8165
8166         * lyxrc.[Ch]:
8167         * lyx_main.C (init): remove override_x_deadkeys stuff.
8168
8169 2002-12-12  John Levon  <levon@movementarian.org>
8170
8171         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8172           insert. Only remove shift modifier under strict
8173           circumstances.
8174
8175 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8176
8177         * MenuBackend.C (expandToc): fix crash.
8178
8179 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8180
8181         * MenuBackend.C (expandToc): gettext on float names.
8182
8183 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8184
8185         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8186         implement bool empty() [bug 490]
8187
8188 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8189
8190         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8191
8192 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8193
8194         * several files: ws changes
8195
8196 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8197
8198         * text2.C (setCounter): clean up a bit, use boost.format.
8199         (updateCounters): initialize par upon declaration.
8200
8201         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8202         if the layout exists. We do not just store the layout any more.
8203         (SwitchLayoutsBetweenClasses): use boost.format
8204
8205 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8206
8207         * converter.C (convert): if from and to files are the same, use a
8208         temporary files as intermediary
8209
8210 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8211
8212         * commandtags.h:
8213         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8214
8215 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8216
8217         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8218
8219 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8220
8221         * tabular.C (asciiPrintCell): use string(size, char) instead of
8222         explicit loop.
8223
8224         * sgml.C (openTag): fix order of arguments to string constructor
8225         (closeTag): ditto
8226
8227         * lyxfunc.C (dispatch): use boost.format
8228
8229         * lots of files: change "c" -> 'c'
8230
8231 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8232
8233         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8234
8235 2002-11-25  Angus Leeming  <leeming@lyx.org>
8236
8237         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8238
8239         * lyx_main.C (init): compile fix.
8240
8241 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8242
8243         * lyx_cb.C (start): boost.formatify
8244         do not include <iostream>
8245
8246         * lengthcommon.C: ws only
8247
8248         * boost-inst.C,BoostFormat.h: add more explict instantations
8249
8250 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8251
8252         * lots of files: handle USE_BOOST_FORMAT
8253
8254 2002-11-21  John Levon  <levon@movementarian.org>
8255
8256         * pspell.C: fix compile
8257
8258 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8259
8260         * lyxfunc.C (dispatch): use boost::format
8261         (open): ditto
8262         (doImport): ditto
8263
8264         * lyxfont.C (stateText): use boost::format
8265
8266         * lyx_main.C (LyX): use boost::format
8267         (init): ditto
8268         (queryUserLyXDir): ditto
8269         (readRcFile): ditto
8270         (parse_dbg): ditto
8271         (typedef boost::function): use the recommened syntax.
8272
8273         * importer.C (Import): use boost::format
8274
8275         * debug.C (showLevel): use boost::format
8276
8277         * converter.C (view): use boost::format
8278         (convert): ditto
8279         (move): ditto
8280         (scanLog): ditto
8281
8282         * bufferview_funcs.C (currentState): use boost::format
8283
8284         * bufferlist.C (emergencyWrite): use boost::format
8285
8286         * buffer.C (readLyXformat2): use boost::format
8287         (parseSingleLyXformat2Token): ditto
8288
8289         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8290
8291         * LaTeX.C (run): use boost::format
8292
8293         * Chktex.C (scanLogFile): use boost::format
8294
8295         * BufferView_pimpl.C (savePosition): use boost::format
8296         (restorePosition): ditto
8297         (MenuInsertLyXFile): ditto
8298
8299         * BoostFormat.h: help file for explicit instation.
8300
8301 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8302
8303         * tabular.C (latex): Support for block alignment in fixed width
8304         columns.
8305
8306 2002-11-17  John Levon  <levon@movementarian.org>
8307
8308         * BufferView_pimpl.C:
8309         * lyx_cb.C:
8310         * lyxfunc.C: split filedialog into open/save
8311
8312 2002-11-08  Juergen Vigna  <jug@sad.it>
8313
8314         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8315         by my last patch (hopefully).
8316
8317 2002-11-08  John Levon  <levon@movementarian.org>
8318
8319         * iterators.h:
8320         * iterators.C:
8321         * buffer.h:
8322         * buffer.C:
8323         * paragraph.h:
8324         * paragraph.C:
8325         * toc.h:
8326         * toc.C: ParConstIterator, and use it (from Lars)
8327
8328 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8329
8330         * lyxtextclass.[Ch]: revise and add doxygen comments
8331
8332 2002-11-07  John Levon  <levon@movementarian.org>
8333
8334         * text.C: fix progress value for spellchecker
8335
8336         * toc.C: fix navigate menu for insetwrap inside minipage
8337
8338         * paragraph_funcs.C: added FIXME for suspect code
8339
8340 2002-11-07  John Levon  <levon@movementarian.org>
8341
8342         * BufferView_pimpl.C: fix redrawing of insets
8343           on buffer switch
8344
8345 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8346
8347         * text2.C (updateCounters): fix bug 668
8348
8349 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8350
8351         * text3.C (dispatch): Do not make the buffer dirty when moving the
8352         cursor.
8353
8354 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8355
8356         * vc-backend.C: STRCONV
8357         (scanMaster): ditto
8358
8359         * text2.C (setCounter): STRCONV
8360
8361         * paragraph.C (asString): STRCONV
8362
8363         * lyxlength.C (asString): STRCONV
8364         (asLatexString): ditto
8365
8366         * lyxgluelength.C (asString): STRCONV
8367         (asLatexString): ditto
8368
8369         * lyxfunc.C (dispatch): STRCONV
8370         (open): ditto
8371
8372         * lyxfont.C (stateText): STRCONV
8373
8374         * importer.C (Import): STRCONV
8375
8376         * counters.C (labelItem): STRCONV
8377         (numberLabel): ditto
8378         (numberLabel): remove unused ostringstream o
8379
8380         * chset.C: STRCONV
8381         (loadFile): ditto
8382
8383         * bufferview_funcs.C (currentState): STRCONV
8384
8385         * buffer.C (readFile): STRCONV
8386         (asciiParagraph): ditto
8387         (makeLaTeXFile): ditto
8388
8389         * Spacing.C (writeEnvirBegin): STRCONV
8390
8391         * LaTeXFeatures.C (getLanguages): STRCONV
8392         (getPackages): ditto
8393         (getMacros): ditto
8394         (getBabelOptions): ditto
8395         (getTClassPreamble): ditto
8396         (getLyXSGMLEntities): ditto
8397         (getIncludedFiles): ditto
8398
8399         * LaTeX.C: STRCONV
8400         (run): ditto
8401         (scanAuxFile): ditto
8402         (deplog): ditto
8403
8404         * LString.h: add the STRCONV macros
8405
8406         * BufferView_pimpl.C (savePosition): STRCONV
8407         (restorePosition): ditto
8408         (MenuInsertLyXFile): ditto
8409
8410         * vc-backend.C (scanMaster): change from submatch[...] to
8411         submatch.str(...)
8412
8413         * funcrequest.C: include config.h
8414
8415         * factory.C: include config.h
8416
8417         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8418
8419         * box.C: include config.h
8420
8421         * LaTeX.C (scanAuxFile): change from submatch[...] to
8422         submatch.str(...)
8423         (deplog): ditto
8424
8425 2002-10-25  Angus Leeming  <leeming@lyx.org>
8426
8427         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8428
8429         * ispell.[Ch] (setError): new method.
8430         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8431         Use setError() insetead of goto END.
8432
8433         * lyx_cb.C (AutoSave): move out child process into new class
8434         AutoSaveBuffer.
8435
8436 2002-10-30  John Levon  <levon@movementarian.org>
8437
8438         * text3.C: make start appendix undoable
8439
8440 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8441
8442         * lyxlength.C (inPixels): Fix returned value.
8443
8444         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8445         environment.
8446
8447 2002-10-24  Angus Leeming  <leeming@lyx.org>
8448
8449         * lyxgluelength.h: no need to forward declare BufferParams
8450         or BufferView, so don't.
8451
8452 2002-10-21  John Levon  <levon@movementarian.org>
8453
8454         * BufferView.C: menuUndo ->undo, redo
8455
8456         * BufferView.h: document, remove dead, make some methods private
8457
8458         * paragraph_funcs.h:
8459         * paragraph_funcs.C:
8460         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8461
8462         * buffer.h:
8463         * buffer.C:
8464         * sgml.h:
8465         * sgml.C: move sgml open/close tag into sgml.C
8466
8467         * bufferview_funcs.h: unused prototype
8468
8469         * lyxfunc.h:
8470         * lyxfunc.C: remove unused
8471
8472         * lyxtext.h:
8473         * text.C: remove unused
8474
8475 2002-10-21  John Levon  <levon@movementarian.org>
8476
8477         * BufferView.h:
8478         * BufferView.C:
8479         * BufferView_pimpl.h:
8480         * BufferView_pimpl.C: fix mouse wheel handling based on
8481           patch from Darren Freeman
8482
8483 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8484
8485         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8486
8487 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8488
8489         * lyxlength.C (inPixels): Fix hanfling of negative length.
8490         Fix LyXLength::MU case.
8491
8492 2002-10-16  John Levon  <levon@movementarian.org>
8493
8494         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8495
8496 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8497
8498         * converter.C (view): add support for $$i (file name) and $$p
8499         (file path) for the viewer command. If $$i is not specified, then
8500         it is appended to the command (for compatibility with old syntax)
8501
8502 2002-10-14  Juergen Vigna  <jug@sad.it>
8503
8504         * undo_funcs.C (textHandleUndo): alter the order in which the
8505         new undopar is added to the LyXText, as we have to set first
8506         the right prev/next and then add it as otherwise the rebuild of
8507         LyXText is not correct. Also reset the cursor to the right paragraph,
8508         with this IMO we could remove the hack in "redoParagraphs()".
8509
8510 2002-10-09  Angus Leeming  <leeming@lyx.org>
8511
8512         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8513         to turn off an optimisation if a new inset is to be inserted.
8514
8515 2002-10-11 André Pönitz <poenitz@gmx.net>
8516
8517         * lyxtext.h: make some functions public to allow access
8518         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8519
8520 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8521
8522         * text3.C (dispatch): when changing layout, avoid an infinite loop
8523         [bug #652]
8524
8525 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8526
8527         * lyxrc.C (read): treat a viewer or converter command of "none" as
8528         if it were empty.
8529
8530         * MenuBackend.C (expandFormats): for an update, also allow the
8531         formats that are not viewable
8532
8533         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8534         script if it is newer than the lyxrc.defaults in user directory
8535
8536 2002-10-07 André Pönitz <poenitz@gmx.net>
8537
8538         * text.C: Vitaly Lipatov's small i18n fix
8539
8540 2002-09-25  Angus Leeming  <leeming@lyx.org>
8541
8542         * ispell.h: doxygen fix.
8543
8544 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8545
8546         * buffer.h (readFile): Add a new argument to the method, to allow
8547         reading of old-format templates.
8548
8549 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8550
8551         * toc.C (getTocList): Get TOC from InsetWrap.
8552
8553 2002-09-16  John Levon  <levon@movementarian.org>
8554
8555         * lyxfunc.C: check tabular for cut/copy too
8556
8557 2002-09-12  John Levon  <levon@movementarian.org>
8558
8559         * LyXAction.C: tidy
8560
8561         * factory.h:
8562         * factory.C: add header
8563
8564         * paragraph_funcs.h:
8565         * paragraph_funcs.C: cleanup
8566
8567 2002-09-11  John Levon  <levon@movementarian.org>
8568
8569         * PrinterParams.h: odd/even default to true
8570
8571 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8572
8573         * PrinterParams.h: update printer parameters for new xforms dialog
8574
8575 2002-09-11  Angus Leeming  <leeming@lyx.org>
8576
8577         * lyxserver.C (read_ready): re-write to make it more transparent
8578         and to make it work in coherent fashion under Tru64 Unix.
8579
8580 2002-09-11  André Pönitz <poenitz@gmx.net>
8581
8582         * commandtags.h:
8583         * LyXAction.C:
8584         * text3.C: implement LFUN_WORDSEL
8585
8586 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8587
8588         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8589         make floatlist_ a boost::shared_ptr<FloatList>
8590
8591         * lyxtextclass.C: include FloatList.h
8592         (LyXTextClass): initialize floatlist_
8593         (TextClassTags): add TC_NOFLOAT
8594         (Read): match "nofloat" to TC_NOFLOAT and use it.
8595         (readFloat): modify call to floatlist_
8596         (floats): ditto
8597         (floats): ditto
8598
8599         * FloatList.[Ch] (FloatList): remove commented out float
8600         initialization.
8601         (erase): new function
8602
8603 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8604
8605         * MenuBackend.C (expandToc): fix crash when there is no document
8606         open
8607
8608 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8609
8610         * many files: Add insetwrap.
8611
8612 2002-09-09  John Levon  <levon@movementarian.org>
8613
8614         * text2.C: remove confusing and awkward depth wraparound
8615
8616 2002-09-09  John Levon  <levon@movementarian.org>
8617
8618         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8619
8620         * buffer.h:
8621         * buffer.C: remove getIncludeonlyList()
8622
8623         * paragraph.C:
8624         * lyxfunc.C: remove headers
8625
8626 2002-09-09  Juergen Vigna  <jug@sad.it>
8627
8628         * text.C (getColumnNearX): fix form Michael this is most
8629         probably a cut&paste bug.
8630
8631 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8632
8633         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8634
8635         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8636         references, ws changes.
8637
8638         * text2.C (init): update counters after init
8639         (insertParagraph): no need to set counter on idividual paragraphs.
8640         (setCounter): access the counters object in the textclass object
8641         on in the buffer object.
8642         (updateCounters): ditto
8643
8644         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8645         shared_ptr<Counters> to avoid loading counters.h in all
8646         compilation units.
8647         (LyXTextClass): initialize ctrs_
8648         (TextClassTags): add TC_COUNTER, and ...
8649         (Read): use it here.
8650         (CounterTags): new tags
8651         (readCounter): new function
8652         (counters): new funtion
8653         (defaultLayoutName): return a const reference
8654
8655         * counters.C (Counters): remove contructor
8656         (newCounter): remove a couple of unneeded statements.
8657         (newCounter): simplify a bit.
8658         (numberLabel): some small formatting changes.
8659
8660         * buffer.[Ch]: remove all traces of counters, move the Counters
8661         object to the LyXTextClass.
8662
8663 2002-09-06  Alain Castera  <castera@in2p3.fr>
8664
8665         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8666         package to set the horizontal alignment on fixed width columns.
8667
8668         * lyx_sty.C:
8669         * lyx_sty.h: added tabularnewline macro def.
8670
8671         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8672
8673 2002-09-06  John Levon  <levon@movementarian.org>
8674
8675         * LyXAction.C: tooltips for sub/superscript
8676
8677         * MenuBackend.C: a bit more verbose
8678
8679         * lyxfunc.C: tiny clean
8680
8681         * undo_funcs.C: document undo_frozen
8682
8683 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8684
8685         * counters.C (Counters): add missing algorithm counter.
8686
8687         * text2.C (setCounter): lookup the counter with layouts latexname
8688         instead of by section number.
8689         (setCounter): use a hackish way to lookup the correct enum
8690         counter.
8691         a float name->type change
8692         reset enum couners with counter name directly instead of depth value.
8693
8694         * counters.C (Counters): remove the push_backs, change to use the
8695         float type not the float name.
8696         (labelItem): remove unused string, float name->type change
8697
8698         * counters.h: don't include vector, loose the enums and sects vectors
8699
8700 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8701
8702         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8703         (Read): add float->TC_FLOAT to textclassTags
8704         (Read): and handle it in the switch
8705         (readFloat): new function
8706
8707         * FloatList.C (FloatList): comment out the hardcoded float
8708         definitions.
8709
8710         * lyxlayout.h: ws change.
8711
8712 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8713
8714         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8715
8716 2002-09-03  Angus Leeming  <leeming@lyx.org>
8717
8718         * BufferView_pimpl.h: qualified name is not allowed in member
8719         declaration: WorkArea & Pimpl::workarea() const;
8720
8721         * factory.C: added using std::endl directive.
8722
8723         * text3.C: added using std::find and std::vector directives.
8724
8725 2002-08-29  André Pönitz <poenitz@gmx.net>
8726
8727         * lyxtext.h:
8728         * text2.C: remove unused member number_of_rows
8729
8730         * Makefile.am:
8731         * BufferView2.C: remove file, move contents to...
8732         * BufferView.C: ... here
8733
8734         * BufferView_pimpl.C:
8735         * factory.C: move more inset creation to factory
8736
8737         * vspace.C: avoid direct usage of LyXText, ws changes
8738
8739         * BufferView.[Ch]:
8740                 don't provide direct access to WorkArea, use two simple
8741                 acessors haveSelction() and workHeight() instead
8742
8743
8744 2002-08-29  John Levon  <levon@movementarian.org>
8745
8746         * BufferView_pimpl.C (dispatch): do not continue when
8747           no buffer
8748
8749 2002-08-28  André Pönitz <poenitz@gmx.net>
8750
8751         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8752
8753         * BufferView.h:
8754         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8755
8756 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8757
8758         * buffer.C: increment LYX_FORMAT to 221
8759
8760         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8761         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8762
8763         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8764
8765         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8766
8767 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8768
8769         * factory.C (createInset): use LyXTextClass::floats
8770
8771         * MenuBackend.C (expandFloatListInsert):
8772         (expandFloatInsert):
8773         (expandToc):
8774
8775         * text2.C (setCounter):
8776
8777         * LaTeXFeatures.C (useFloat):
8778         (getFloatDefinitions):
8779
8780         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8781
8782         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8783         floatlist_, with accessor floats().
8784
8785         * FloatList.h: remove global FloatList
8786
8787 2002-08-26  André Pönitz <poenitz@gmx.net>
8788
8789         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8790
8791         * BufferView.h:
8792         * BufferView2.C:
8793         * BufferView_pimpl.C:
8794         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8795
8796 2002-08-25  John Levon  <levon@movementarian.org>
8797
8798         * LyXAction.C: fix margin note description
8799
8800 2002-08-24  John Levon  <levon@movementarian.org>
8801
8802         * buffer.C:
8803         * bufferlist.C:
8804         * bufferview_funcs.C:
8805         * lyxfont.C:
8806         * undo_funcs.C: cleanups
8807
8808         * lyxfunc.C: disable CUT/COPY when no selection
8809
8810 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8811
8812         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8813         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8814
8815         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8816         Add backward compatibility to "mono", "gray" and "no".
8817
8818 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8819
8820         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8821         (and file_format >= 200).
8822
8823 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8824
8825         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8826
8827 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8828
8829         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8830
8831 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8832
8833         * BufferView_pimpl.C:
8834         * LyXAction.C:
8835         * buffer.C:
8836         * commandtags.h:
8837         * lyxfunc.C:
8838         * paragraph.[Ch]:
8839         * text2.C:
8840         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8841         inset and code to make it  work with the paragraph code. The inset
8842         can be anywhere in the paragraph, but will only do the expected
8843         thing in LaTeX if the layout file contains the parameter line
8844                         OptionalArgs    1
8845         (or more generally, a nonzero value) for that layout.
8846
8847 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8848
8849         * paragraph.h: remove the declaration of undefined counters class
8850         function.
8851
8852 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8853
8854         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8855         Dr. Richard Hawkins.
8856
8857 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8858
8859         * paragraph_funcs.h: remove some unneeded includes
8860
8861         * text.C (backspace): pasteParagraph now in global scipe
8862
8863         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8864         (pasteSelection): ditto
8865
8866         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8867         * paragraph_funcs.C (pasteParagraph): ... here
8868
8869 2002-08-20  André Pönitz <poenitz@gmx.net>
8870
8871         * commandtags.h: new LFUNs for swapping/copying table row/colums
8872
8873         * LyXAction.C:
8874         * lyxfunc.C: support for new lfuns
8875
8876 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8877
8878         * tabular.C:
8879         * buffer.[Ch]: remove NO_COMPABILITY stuff
8880
8881 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8882
8883         * boost.C (throw_exception): new file, with helper function for
8884         boost compiled without exceptions.
8885
8886         * paragraph.h:
8887         * lyxlength.C:
8888         * buffer.C:
8889         * ParameterStruct.h:
8890         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8891
8892         * bufferlist.C (emergencyWriteAll): use boost bind
8893
8894         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8895
8896         * text.C: include paragraph_funcs.h
8897         (breakParagraph): breakParagraph is now in global scope
8898
8899         * paragraph_funcs.[Ch]: new files
8900
8901         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8902         global scope
8903
8904         * buffer.C: include paragraph_funcs.h
8905         (insertStringAsLines): breakParagraph is now in global scope
8906
8907         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8908         paragraph_funcs.C
8909
8910         * CutAndPaste.C: include paragraph_funcs.h
8911         (cutSelection): breakParagraphConservative is now in global scope
8912         (pasteSelection): ditto
8913
8914         * buffer.h: declare oprator== and operator!= for
8915         Buffer::inset_iterator
8916
8917         * bufferlist.C (emergencyWrite): don't use fmt(...)
8918
8919         * text3.C: add using std::endl
8920
8921         * BufferView.C (moveCursorUpdate): remove default arg
8922
8923 2002-08-20  André Pönitz <poenitz@gmx.net>
8924
8925         * buffer.[Ch]: move inline functions to .C
8926
8927         * BufferView2.C:
8928         * BufferView_pimpl.C:
8929         * text.C:
8930         * buffer.[Ch]: use improved inset_iterator
8931
8932         * buffer.C:
8933         * paragraph.[Ch]: write one paragraph at a time
8934
8935 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8936
8937         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8938         style if style is not specified.
8939
8940 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8941
8942         * text2.C (setCounter): when searching for right label for a
8943         caption, make sure to recurse to parent insets (so that a caption
8944         in a minipage in a figure float works) (bug #568)
8945
8946 2002-08-20  André Pönitz <poenitz@gmx.net>
8947
8948         * text3.C: new file for LyXText::dispatch() and helpers
8949
8950         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8951
8952         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8953
8954 2002-08-19  André Pönitz <poenitz@gmx.net>
8955
8956         * lyxtext.h:
8957         * text.C: new LyXText::dispatch()
8958
8959         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8960
8961 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8962
8963         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8964
8965         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8966         Hebrew text.
8967
8968 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8969
8970         * Makefile.am: use $(variables) instead of @substitutions@
8971
8972 2002-08-15  André Pönitz <poenitz@gmx.net>
8973
8974         * lyxfunc.C:
8975         * BufferView_pimpl.C: streamlining mathed <-> outer world
8976         interaction
8977
8978         * commandtags.h:
8979         * LyXAction.C: remove unused LFUN_MATH
8980
8981 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8982
8983         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8984
8985 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8986
8987         * paragraph.C (Paragraph): reformat a bit
8988         (cutIntoMinibuffer): use builtin InsetList function instad of
8989         doing it manually.
8990         (getInset): ditto
8991
8992         * buffer.C: include boost/bind.hpp, add using std::for_each
8993         (writeFileAscii): use ParagraphList iterators
8994         (validate): use for_each for validate traversal of paragraphs
8995         (getBibkeyList): use ParagraphList iterators
8996         (resizeInsets): use for_each to resizeInsetsLyXText for all
8997         paragraphs.
8998         (getParFromID): use ParagraphList iterators
8999
9000         * BufferView2.C (lockInset): use paragraph list and iterators
9001
9002 2002-08-14  John Levon  <levon@movementarian.org>
9003
9004         * lyxserver.C: remove spurious xforms include
9005
9006 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9007
9008         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9009
9010 2002-08-13  André Pönitz <poenitz@gmx.net>
9011
9012         * LyXAction.[Ch]:
9013         * lyxfunc.C: further cleaning
9014
9015 2002-08-13  André Pönitz <poenitz@gmx.net>
9016
9017         * funcrequest.h: new constructor
9018
9019         * funcrequest.C: move stuff here from .h
9020
9021         * Makefile.am:
9022         * BufferView_pimpl.C:
9023         * LyXAction.C:
9024         * toc.C:
9025         * lyxfunc.C: subsequent changes
9026
9027         * lyxfunc.h: new view() member function
9028
9029         * lyxfunc.C: subsequent changes
9030
9031 2002-08-13  Angus Leeming  <leeming@lyx.org>
9032
9033         * BufferView2.C:
9034         * BufferView_pimpl.C:
9035         * buffer.C:
9036         * converter.C:
9037         * importer.C:
9038         * lyxfunc.C:
9039         * lyxvc.C:
9040         * toc.C:
9041         * vc-backend.C:
9042         changes due to the changed LyXView interface that now returns references
9043         to member variables not pointers.
9044
9045 2002-08-13  Angus Leeming  <leeming@lyx.org>
9046
9047         * WordLangTuple (word, lang_code): return references to strings,
9048         not strings.
9049
9050         * BufferView.h:
9051         * SpellBase.h:
9052         * lyxtext.h: forward-declare WordLangTuple.
9053
9054         * BufferView2.C:
9055         * ispell.C:
9056         * pspell.C:
9057         * text.C: #include "WordLangTuple.h".
9058
9059         * lyxtext.h:
9060         * text.C: (selectNextWordToSpellcheck): constify return type.
9061
9062 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9063
9064         * buffer.C:
9065         * buffer.h:
9066         * lyxtext.h:
9067         * paragraph.C:
9068         * paragraph_pimpl.h:
9069         * text.C:
9070         * text2.C:
9071         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9072         suggested by Angus.
9073         Made updateCounter always count from start of buffer, and removed
9074         second argument (par).
9075         Reverted floats number display to '#'. Perhaps I'll try again when the
9076         code base is sanitized a bit.
9077
9078 2002-08-12  Angus Leeming  <leeming@lyx.org>
9079
9080         * buffer.[Ch] (getLabelList): constify.
9081
9082 2002-08-07  André Pönitz <poenitz@gmx.net>
9083
9084         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9085
9086         * funcrequest.h: extension to keep mouse (x,y) position
9087
9088 2002-08-12  Juergen Vigna  <jug@sad.it>
9089
9090         * BufferView2.C (insertErrors): forbid undo when inserting error
9091         insets.
9092
9093         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9094
9095 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9096
9097         * ParagraphList.[Ch]: new files
9098
9099         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9100
9101         * BufferView2.C (lockInset): ParagraphList changes
9102         * toc.C: ditto
9103         * text2.C: ditto
9104         * bufferlist.C: ditto
9105         * buffer.h: ditto
9106         * buffer.C: ditto
9107
9108 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9109
9110         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9111         unused class variable counter_,
9112
9113         * paragraph.[Ch] (getFirstCounter): delete unused function
9114
9115         * counters.C: include LAssert.h
9116         (reset): add a new function with no arg, change other version to
9117         not have def. arg and to not allow empty arg.
9118
9119         * text2.C (setCounter): remove empty arg from call to Counters::reset
9120
9121 2002-08-11  John Levon  <levon@movementarian.org>
9122
9123         * Makefile.am: add WordLangTuple.h
9124
9125 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9126
9127         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9128         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9129
9130         * insets/insettext.C: InsetList changes
9131
9132         * graphics/GraphicsSupport.C (operator()): InsetList changes
9133
9134         * toc.C (getTocList): InsetList changes
9135
9136         * paragraph_pimpl.[Ch]: InsetList changes
9137
9138         * paragraph.[Ch]: InsetList changes
9139
9140         * buffer.C (inset_iterator): InsetList changes
9141         (setParagraph): ditto
9142         * buffer.h (inset_iterator): ditto
9143         * iterators.C (operator++): ditto
9144         * iterators.h: ditto
9145
9146         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9147
9148         * InsetList.[Ch]: new files, most InsetList handling moved out of
9149         paragraph.C.
9150
9151         * BufferView2.C (removeAutoInsets): InsetList changes
9152         (lockInset): ditto
9153         (ChangeInsets): ditto
9154
9155 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9156
9157         * paragraph_pimpl.h (empty): new function
9158
9159         * paragraph.[Ch] (empty): new function
9160
9161         * other files: use the new Paragraph::empty function
9162
9163 2002-08-09  John Levon  <levon@movementarian.org>
9164
9165         * lyxtext.h: remove unused refresh_height
9166
9167 2002-08-09  John Levon  <levon@movementarian.org>
9168
9169         * Makefile.am:
9170         * sgml.h:
9171         * sgml.C:
9172         * buffer.C:
9173         * paragraph.h:
9174         * paragraph.C: move sgml char escaping out of paragraph
9175
9176         * paragraph.h:
9177         * paragraph.C: remove id setter
9178
9179         * buffer.C:
9180         * paragraph.C:
9181         * paragraph_pimpl.C: remove dead tex_code_break_column
9182
9183         * bufferview_funcs.C: small cleanup
9184
9185         * lyxfunc.C: remove dead proto
9186
9187         * lyxtext.h: make some stuff private. Remove some dead stuff.
9188
9189         * lyxgluelength.C: make as[LyX]String() readable
9190
9191 2002-08-08  John Levon  <levon@movementarian.org>
9192
9193         * LyXAction.h:
9194         * LyXAction.C:
9195         * MenuBackend.C:
9196         * ToolbarDefaults.C:
9197         * lyxfunc.C:
9198         * lyxrc.C:
9199         * toc.C: lyxaction cleanup
9200
9201 2002-08-08  John Levon  <levon@movementarian.org>
9202
9203         * BufferView2.C: small cleanup
9204
9205         * lyxfind.h:
9206         * lyxfind.C: move unnecessary header into the .C
9207
9208 2002-08-08  John Levon  <levon@movementarian.org>
9209
9210         * funcrequest.h: just tedious nonsense
9211
9212         * lyx_main.h:
9213         * lyx_main.C: cleanups
9214
9215         * buffer.C:
9216         * vspace.C: remove dead header lyx_main.h
9217
9218 2002-08-07  Angus Leeming  <leeming@lyx.org>
9219
9220         * Paragraph.[Ch]:
9221         * paragraph_pimpl.h:
9222         Forward declare class Counters in paragraph.h by moving the ctrs member
9223         variable into Paragraph::Pimpl.
9224         (counters): new method, returning a reference to pimpl_->ctrs.
9225
9226         * text2.C: ensuing changes.
9227
9228 2002-08-07  John Levon  <levon@movementarian.org>
9229
9230         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9231
9232         * BufferView_pimpl.C: announce X selection on double/triple
9233           click
9234
9235         * lyx_main.C: use correct bool in batch dispatch
9236
9237         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9238
9239 2002-08-07  André Pönitz <poenitz@gmx.net>
9240
9241         * funcrequest.h: new class to wrap a kb_action and its argument
9242
9243         * BufferView.[Ch]:
9244         * BufferView_pimpl[Ch]:
9245         * LaTeX.C:
9246         * LyXAction.[Ch]:
9247         * lyxfunc.[Ch]:
9248         * lyxrc.C: subsequent changes
9249
9250
9251 2002-08-07  John Levon  <levon@movementarian.org>
9252
9253         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9254           document options change.
9255
9256 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9257
9258         * counters.[Ch]
9259         * text2.C
9260         * paragraph.[Ch]
9261         * makefile.am: move counters functionality over from
9262         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9263
9264 2002-08-06  John Levon  <levon@movementarian.org>
9265
9266         * WordLangTuple.h: new file for word + language code tuple
9267
9268         * SpellBase.h:
9269         * pspell.h:
9270         * pspell.C:
9271         * ispell.h:
9272         * ispell.C:
9273         * lyxtext.h:
9274         * text.C:
9275         * text2.C:
9276         * BufferView.h:
9277         * BufferView2.C: use WordLangTuple
9278
9279         * layout.h:
9280         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9281
9282 2002-08-06  John Levon  <levon@movementarian.org>
9283
9284         * lyx_main.C: fix cmdline batch handling
9285
9286 2002-08-06  André Pönitz <poenitz@gmx.net>
9287
9288         * lyxrc.C: set default for show_banner to true
9289
9290 2002-08-06  John Levon  <levon@movementarian.org>
9291
9292         * pspell.C: fix a crash, and allow new aspell to work
9293
9294 2002-08-06  John Levon  <levon@movementarian.org>
9295
9296         * lyxfunc.C:
9297         * kbmap.C: small cleanup
9298
9299         * vspace.h:
9300         * vspace.C: add const
9301
9302 2002-08-05  John Levon  <levon@movementarian.org>
9303
9304         * LyXAction.C: back to tabular-insert
9305
9306 2002-08-04  John Levon  <levon@movementarian.org>
9307
9308         * BufferView.h:
9309         * BufferView.C: cosmetic change
9310
9311         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9312
9313         * bufferlist.C:
9314         * buffer.h:
9315         * buffer.C:
9316         * lyxcb.h:
9317         * lyxcb.C:
9318         * lyxserver.C:
9319         * lyxvc.C:
9320         * vc-backend.C:
9321         * BufferView2.C: purge all "Lyx" not "LyX" strings
9322
9323         * lyxcursor.h:
9324         * lyxcursor.C: attempt to add some documentation
9325
9326         * lyxfunc.C:
9327         * commandtags.h:
9328         * LyXAction.C:
9329         * ToolbarDefaults.C:
9330         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9331           merge with LFUN_TABULAR_INSERT
9332
9333         * Makefile.am:
9334         * SpellBase.h:
9335         * ispell.h:
9336         * ispell.C:
9337         * pspell.h:
9338         * pspell.C: split up i/pspell implementations into separate
9339           files, many cleanups
9340
9341         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9342
9343         * text2.C: some cleanup
9344
9345         * lyxfunc.C: don't check for isp_command == "none" any more, it
9346           didn't make any sense
9347
9348 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9349
9350         * counters.[Ch]
9351         * text2.C
9352         * paragraph.[Ch]
9353         * makefile.am: move counters functionality over
9354         from text2.C/paragraph.[Ch] to counters.[Ch], and
9355         make proper C++.
9356 2002-08-02  John Levon  <levon@movementarian.org>
9357
9358         * buffer.C: s/lyxconvert/lyx2lyx/
9359
9360 2002-08-02  Angus Leeming  <leeming@lyx.org>
9361
9362         * lyxlex.C: revert John's change as it breaks reading of the user
9363         preamble.
9364
9365 2002-08-02  Angus Leeming  <leeming@lyx.org>
9366
9367         * importer.C (Import):
9368         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9369         changes due to LyXView::view() now returning a boost::shared_ptr.
9370
9371 2002-08-02  John Levon  <levon@movementarian.org>
9372
9373         * lyxlex.C: small cleanup
9374
9375 2002-08-02  John Levon  <levon@movementarian.org>
9376
9377         * text2.C (status): small cleanup, no logic change
9378
9379 2002-08-01  John Levon  <levon@movementarian.org>
9380
9381         * buffer.h:
9382         * buffer.C (writeFile): don't output alerts, caller
9383           handles this
9384
9385         * bufferlist.C:
9386         * lyx_cb.C: from above
9387
9388         * lyxfunc.C: allow to open non-existent files
9389
9390 2002-07-31  John Levon  <levon@movementarian.org>
9391
9392         * lyxserver.C: don't let incidental errors get
9393           in the way (errno)
9394
9395 2002-07-30  John Levon  <levon@movementarian.org>
9396
9397         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9398
9399 2002-07-30  John Levon  <levon@movementarian.org>
9400
9401         * lyxserver.h:
9402         * lyxserver.C: remove I/O callback too
9403
9404 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9405
9406         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9407         log.
9408
9409 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9410
9411         * many files: strip,frontStrip -> trim,ltrim,rtrim
9412
9413 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9414
9415         * PrinterParams.h: remove extern containsOnly, and include
9416         support/lstrings.h instead.
9417
9418         * LaTeX.C (scanAuxFile): modify because of strip changes
9419         (deplog): ditto
9420         * buffer.C (makeLaTeXFile): ditto
9421         * bufferparams.C (writeFile): ditt
9422         * lyxfont.C (stateText): ditto
9423         * lyxserver.C (read_ready): ditto
9424         * vc-backend.C (scanMaster): ditto
9425
9426         * BufferView_pimpl.h: ws changes
9427
9428         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9429
9430 2002-07-26  André Pönitz <poenitz@gmx.net>
9431
9432         * kb_sequence.C: remove unnedred usings
9433
9434 2002-07-26  Juergen Vigna  <jug@sad.it>
9435
9436         * lyxfind.C (LyXReplace): we have to check better if the returned
9437         text is not of theLockingInset()->getLockingInset().
9438
9439 2002-07-25  Juergen Vigna  <jug@sad.it>
9440
9441         * lyxfind.C (LyXReplace): don't replace if we don't get the
9442         right LyXText.
9443
9444         * undo_funcs.C (createUndo): remove debugging code.
9445
9446 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9447
9448         * buffer.C (parseSingleLyXformat2Token): Use default placement
9449         when reading old floats.
9450
9451         * FloatList.C (FloatList): Change the default placement of figure
9452         and tables to "tbp".
9453
9454 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9455
9456         * MenuBackend.C: using std::max
9457
9458 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9459
9460         * MenuBackend.C (expandToc):
9461         (expandToc2): code moved from xforms menu frontend. It is now
9462         generic and TOCs are transparent to menu frontends.
9463
9464 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9465
9466         * toc.C (getTocList): protect against buf=0
9467
9468         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9469         Menu as first parameter. Now, this calls itself recursively to
9470         expand a whole tree (this will be useful for TOC handling)
9471         (expandFloatInsert): remove 'wide' version of floats
9472
9473         * MenuBackend.h (submenuname): returns the name of the submenu.
9474         (submenu): returns the submenu itself, provided it has been
9475         created by MenuBackend::expand
9476
9477 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9478
9479         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9480         insets which have noFontChange == true. (bug #172)
9481
9482 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9483
9484         * BufferView_pimpl.C: add connection objects and use them...
9485         (Pimpl): here.
9486
9487 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9488
9489         * MenuBackend.C (expandLastfiles):
9490         (expandDocuments):
9491         (expandFormats):
9492         (expandFloatListInsert):
9493         (expandFloatInsert):
9494         (expand): split expand in parts
9495
9496 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9497
9498         * lyx_gui.C: use lyx_gui::exit()
9499
9500 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9501
9502         * LyXAction.C: show the failing pseudo action
9503
9504 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9505
9506         * buffer.C (readFile): Run the lyxconvert script in order to read
9507         old files.
9508
9509 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9510
9511         * LyXAction.C:
9512         * commandtags.h:
9513         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9514
9515 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9516
9517         * LyXAction.C:
9518         * commandtags.h:
9519         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9520
9521 2002-07-22  Herbert Voss  <voss@lyx.org>
9522
9523         * lengthcommon.C:
9524         * lyxlength.[Ch]: add support for the vertical lengths
9525
9526 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9527
9528         * toc.[Ch]: std:: fixes
9529
9530 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * lyxrc.C: do not include lyx_main.h
9533
9534         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9535         for layouts
9536
9537         * lyxrc.C:
9538         * encoding.C:
9539         * bufferlist.C:
9540         * BufferView2.C: include "lyxlex.h"
9541
9542         * tabular.h:
9543         * bufferparams.h: do not #include "lyxlex.h"
9544
9545         * lyxtextclasslist.C (Add): remove method
9546         (classlist): renamed to classlist_
9547
9548         * paragraph_pimpl.C:
9549         * paragraph.C:
9550         * text2.C:
9551         * CutAndPaste.C:
9552         * bufferview_funcs.C:
9553         * bufferlist.C:
9554         * text.C:
9555         * LaTeXFeatures.C:
9556         * buffer.C:
9557         * toc.C (getTocList): use BufferParams::getLyXTextClass
9558
9559         * toc.C (getTocList): use InsetFloat::addToToc
9560
9561         * toc.[Ch]: new files, containing helper functions to handle table
9562         of contents
9563
9564         * lyxfunc.C (dispatch): no need to remove spaces around command
9565         given as a string
9566         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9567         first command of the sequence; it is not very clever, but I do not
9568         have a better idea, actually
9569
9570         * LyXAction.C (LookupFunc): make sure to remove space at the
9571         beginning and end of the command
9572
9573 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9574
9575         * MenuBackend.C (getMenubar): new method: return the menubar of
9576         this menu set
9577         (read): treat differently reading of menu and menubar (in
9578         particular, the menubar has no name now)
9579         (Menu::menubar): remove
9580
9581         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9582         saving is finished
9583
9584 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9585
9586         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9587         a bibitem inset in a RTL paragraph.
9588
9589 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9590
9591         * paragraph_pimpl.C: constify
9592
9593         * BufferView_pimpl.C:
9594         * LaTeX.C:
9595         * lyxfunc.C: fix dispatch in a nicer way
9596
9597 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9598
9599         * lyxfunc.C (dispatch):
9600         * BufferView_pimpl.C:
9601         * BufferView_pimpl.h:
9602         * BufferView.C:
9603         * BufferView.h: rename Dispatch() to dispatch()
9604
9605         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9606
9607         * lyxlayout.C (Read): honor DependsOn tag
9608
9609         * lyxlayout.[Ch] (depends_on): new method
9610
9611         * version.C.in: update lyx_docversion
9612
9613         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9614
9615         * paragraph.C (validate): remove from here...
9616         * paragraph_pimpl.C (validate): ... and move here
9617         (isTextAt): make it const
9618
9619         * buffer.C (getLists): ws cleanup
9620
9621 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9622
9623         * language.C (read): Use iso8859-1 encoding in latex_lang
9624         (this prevents LyX from crashing when using iso10646-1 encoding).
9625
9626 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9627
9628         * text2.C (toggleInset): if cursor is inside an inset, close the
9629         inset and leave cursor _after_ it
9630
9631 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9632
9633         * lyxfunc.C: move minibuffer completion handling out of here
9634
9635 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9636
9637         * BufferView_pimpl.C:
9638         * LaTeX.C: fix dispatch calls
9639
9640 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9641
9642         * text.C (drawChars): Fix Arabic text rendering.
9643
9644 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9645
9646         * LyXAction.C:
9647         * commandtags.h:
9648         * lyxfunc.C: remove message-push/pop
9649
9650         * lyxserver.C:
9651         * lyxfunc.h:
9652         * lyxfunc.C: rationalise some code by removing verboseDispatch
9653           in favour of a bool argument to dispatch()
9654
9655 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9656
9657         * lyx_main.C (init): make sure to read symlinks as absolute paths
9658
9659 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9660
9661         * lyxfunc.h:
9662         * lyxfunc.C: no need for commandshortcut to be a member
9663
9664 2002-07-15  André Pönitz <poenitz@gmx.net>
9665
9666         * converter.C: add support for $$s (scripts from lib/scripts dir)
9667         * lyx_main.C: white space
9668
9669 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9670
9671         * bufferlist.C:
9672         * lyxrc.h:
9673         * lyxrc.C: remove second exit confirmation
9674
9675 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9676
9677         * BufferView.h:
9678         * BufferView.C:
9679         * BufferView2.C:
9680         * BufferView_pimpl.h:
9681         * BufferView_pimpl.C:
9682         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9683
9684 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9685
9686         * MenuBackend.C (expand): add numeric shortcuts to document menu
9687
9688         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9689
9690 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9691
9692         * lyxfont.C (setLyXFamily):
9693         (setLyXSeries):
9694         (setLyXShape):
9695         (setLyXSize):
9696         (setLyXMisc):
9697         (lyxRead):
9698         * debug.C (value):
9699         * buffer.C (asciiParagraph): use ascii_lowercase
9700
9701 2002-07-15  Mike Fabian  <mfabian@suse.de>
9702
9703         * lyxlex_pimpl.C (search_kw):
9704         * lyxlex.C (getLongString):
9705         * converter.h (operator<):
9706         * converter.C (operator<):
9707         * buffer.C (parseSingleLyXformat2Token):
9708         (asciiParagraph):
9709         * ToolbarDefaults.C (read):
9710         * MenuBackend.C (checkShortcuts):
9711         (read):
9712         * LColor.C (getFromGUIName):
9713         (getFromLyXName): use the compare_ascii_no_case instead of
9714         compare_no_case, because in turkish, 'i' is not the lowercase
9715         version of 'I', and thus turkish locale breaks parsing of tags.
9716
9717 2002-07-16  Angus Leeming  <leeming@lyx.org>
9718
9719         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9720         now takes a Buffer const & argument.
9721
9722 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9723
9724         * BufferView.C (resize): check there's a buffer to resize
9725
9726 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9727
9728         * lyxfunc.C: remove dead code
9729
9730         * lyxserver.h:
9731         * lyxserver.C: use lyx_guii::set_read_callback
9732
9733 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9734
9735         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9736         an inset in a RTL paragraph.
9737
9738 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9739
9740         * lyxfunc.C: repaint after a font size update
9741
9742 2002-07-15  André Pönitz <poenitz@gmx.net>
9743
9744         * lyxlength.C: inBP should be able to return negative values
9745
9746 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9747
9748         * lyxfunc.C: use lyx_gui::update_fonts()
9749
9750 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9751
9752         * lyxfunc.C: use lyx_gui::update_color()
9753
9754 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9755
9756         * bufferlist.C:
9757         * lyxfunc.h:
9758         * lyxfunc.C:
9759         * lyxrc.h:
9760         * lyxrc.C: remove file->new asks for name option, and let
9761           buffer-new take an argument
9762
9763 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9764
9765         * BufferView_pimpl.C: remove unneeded extra repaint()
9766
9767 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * LyXAction.C: allow command-sequence with NoBuffer
9770
9771         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9772
9773 2002-07-10  Angus Leeming  <leeming@lyx.org>
9774
9775         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9776
9777 2002-07-09  Angus Leeming  <leeming@lyx.org>
9778
9779         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9780
9781 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9782
9783         * lengthcommon.h: whitespace
9784
9785         * lyxfunc.C: update scrollbar after goto paragraph
9786
9787         * lyxtext.h: factor out page break drawing, and fix it so
9788           page break/added space paints as selected nicely
9789
9790 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9791
9792         * BufferView_pimpl.C: add FIXMEs, clean up a little
9793
9794 2002-07-09  André Pönitz <poenitz@gmx.net>
9795
9796         * lyxfont.[Ch]: support for wasy symbols
9797
9798 2002-07-08  André Pönitz <poenitz@gmx.net>
9799
9800         * BufferView_pimpl.C: apply John's patch for #93.
9801
9802 2002-07-05  Angus Leeming  <leeming@lyx.org>
9803
9804         * BufferView_pimpl.C (buffer): generate previews if desired.
9805
9806         * LColor.h: add "preview" to the color enum.
9807
9808         * LColor.C (LColor): add a corresponding entry to the items array.
9809
9810         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9811         with this buffer.
9812
9813 2002-07-05  Angus Leeming  <leeming@lyx.org>
9814
9815         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9816         The body of the code is now in the method that is passed an ostream &
9817         rather than a file name.
9818         Pass an additional only_preamble parameter, useful for the forthcoming
9819         preview stuff.
9820
9821 2002-07-03  André Pönitz <poenitz@gmx.net>
9822
9823         * lyxfunc.C: simplify getStatus() a bit for math stuff
9824
9825 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9826
9827         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9828
9829 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9830
9831         * text.C (changeRegionCase): do not change case of all the
9832         document when region ends at paragraph end (bug #461)
9833
9834 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9835
9836         * paragraph.C (startTeXParParams):
9837         (endTeXParParams): add \protect when necessary
9838
9839 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9840
9841         * BufferView_pimpl.C (workAreaExpose): remove warning
9842
9843 2002-06-27  Angus Leeming  <leeming@lyx.org>
9844
9845         * Makefile.am: add lyxlayout_ptr_fwd.h.
9846
9847 2002-06-26  André Pönitz <poenitz@gmx.net>
9848
9849         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9850
9851 2002-06-25  Angus Leeming  <leeming@lyx.org>
9852
9853         * lyxfunc.C (dispatch): Comment out the call to
9854         grfx::GCache::changeDisplay. The method no longer exists now that the
9855         pixmap generation part of the graphics loader has been moved into
9856         InsetGraphics.
9857
9858 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9859
9860         * text2.C: layout as layout
9861
9862         * text.C: layout as layout
9863
9864         * tabular.C (OldFormatRead): layout as layout
9865
9866         * paragraph_pimpl.C (TeXDeeper): layout as layout
9867         (realizeFont): layout as layout
9868
9869         * paragraph.C (writeFile): layout as layout
9870         (validate): layout as layout
9871         (getFont): layout as layout
9872         (getLabelFont): layout as layout
9873         (getLayoutFont): layout as layout
9874         (breakParagraph): layout as layout
9875         (stripLeadingSpaces): layout as layout
9876         (getEndLabel): layout as layout
9877         (getMaxDepthAfter): layout as layout
9878         (applyLayout): layout as layout
9879         (TeXOnePar): layout as layout
9880         (simpleTeXOnePar): layout as layout
9881         (TeXEnvironment): layout as layout
9882         (layout): layout as layout
9883         (layout): layout as layout
9884
9885         * lyxtextclass.C (compare_name): new functor to work with
9886         shared_ptr, layout as layout
9887         (Read): layout as layout
9888         (hasLayout): layout as layout
9889         (operator): layout as layout
9890         (delete_layout): layout as layout
9891         (defaultLayout): layout as layout
9892
9893         * lyxlayout_ptr_fwd.h: new file
9894
9895         * lyxlayout.C (Read): layout as layout
9896
9897         * lyx_cb.C (MenuInsertLabel): layout as layout
9898
9899         * bufferlist.C (newFile): layout as layout
9900
9901         * buffer.C (readLyXformat2): layout as layout
9902         (parseSingleLyXformat2Token): layout as layout
9903         (insertStringAsLines): layout as layout
9904         (asciiParagraph): layout as layout
9905         (latexParagraphs): layout as layout
9906         (makeLinuxDocFile): layout as layout
9907         (simpleLinuxDocOnePar): layout as layout
9908         (makeDocBookFile): layout as layout
9909         (simpleDocBookOnePar): layout as layout
9910         (getLists): layout as layout
9911
9912         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9913
9914         * CutAndPaste.C (cutSelection): layout as layout
9915         (pasteSelection): layout as layout
9916         (SwitchLayoutsBetweenClasses): layout as layout
9917
9918         * BufferView_pimpl.C (Dispatch): layout as layout
9919         (smartQuote): layout as layout
9920
9921         * BufferView2.C (unlockInset): layout as layout
9922
9923 2002-06-24  André Pönitz <poenitz@gmx.net>
9924
9925         * lyxfunc.C: fix #487
9926
9927 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9928
9929         * lyxrc.h:
9930         * lyxrc.C:
9931         * lyxfunc.C: remove display_shortcuts, show_banner
9932
9933 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9934
9935         * Buffer_pimpl.C: oops, update on resize
9936
9937 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9938
9939         * buffer.C:
9940         * converter.C:
9941         * exporter.C:
9942         * lyxfunc.C:
9943         * BufferView.h:
9944         * BufferView.C: use repaint()
9945
9946         * BufferView_pimpl.h:
9947         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9948           as it's a clearer description. Remove superfluous
9949           redraws.
9950
9951 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9952
9953         * text.C: fix bug 488. Not ideal, but getting
9954           getWord() to work properly for the insets that
9955           matter is more difficult ...
9956
9957 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * BufferView_pimpl.C:
9960         * LyXAction.C:
9961         * commandtags.h:
9962         * lyxfunc.C: remove the six million index lyxfuncs to just
9963           one, and DTRT (bug 458)
9964
9965 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9966
9967         * BufferView.h:
9968         * BufferView.C:
9969         * BufferView_pimpl.h:
9970         * BufferView_pimpl.C: clean up resize() stuff,
9971           and unnecessary updateScreen()s
9972
9973 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9974
9975         * BufferView.h:
9976         * BufferView.C:
9977         * BufferView_pimpl.h:
9978         * BufferView_pimpl.C:
9979         * lyxfind.h:
9980         * lyxfind.C:
9981         * minibuffer.C: remove focus management of workarea,
9982           not needed. Use screen's greyOut()
9983
9984 2002-06-17  Herbert Voss  <voss@lyx.org>
9985
9986         * converter.C: (convert) do not post a message, when converting
9987         fails, let the calling function decide what to do in this case
9988
9989 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9990
9991         * lyxfunc.C: tidy up a little
9992
9993 2002-06-16    <alstrup@diku.dk>
9994
9995         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9996         Got rid of FORMS_H_LOCATION include. Now we are
9997         GUII.
9998
9999 2002-06-15  LyX Development team  <lyx@rilke>
10000
10001         * buffer.[Ch] (sgmlOpenTag):
10002         (sgmlCloseTag): Added support for avoiding pernicious mixed
10003         content. Return number of lines written.
10004
10005         (makeLinuxDocFile):
10006         (makeDocBookFile): Fixed calls to sgml*Tag.
10007         Simple white space clean.
10008
10009         (simpleDocBookOnePar): Simple white space clean.
10010
10011         * tabular.[Ch] (docBook): Renamed to docbook and got another
10012         argument to related with the pernicious mixed content.
10013
10014         (docbookRow): Fixed calls for docbook inset method.
10015
10016 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10017
10018         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10019         so it's X11 independent.
10020
10021         * kb*.[Ch]: ditto.
10022
10023         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10024
10025 2002-06-15  Lyx Development team  <lyx@electronia>
10026
10027         * intl.h: Renamed getTrans to getTransManager.
10028
10029 2002-06-14  Angus Leeming  <leeming@lyx.org>
10030
10031         * Makefile.am: nuke forgotten stl_string_fwd.h.
10032
10033 2002-06-12  Angus Leeming  <leeming@lyx.org>
10034
10035         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10036
10037 2002-06-13  Angus Leeming  <leeming@lyx.org>
10038
10039         * LaTeX.C:
10040         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10041
10042 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10043
10044         * kbmap.C (getiso): add support for cyrillic and greek
10045
10046 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10047
10048         * BufferView.h:
10049         * BufferView.C:
10050         * BufferView_pimpl.h:
10051         * BufferView_pimpl.C: move bogus scrolling logic
10052           to xforms
10053
10054 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10055
10056         * lyxfunc.C:
10057         * BufferView_pimpl.C: view->resize() change
10058
10059 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10060
10061         * BufferView_pimpl.C: topCursorVisible
10062           prototype change
10063
10064 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10065
10066         * Makefile.am:
10067         * lyx_gui.h:
10068         * lyx_gui.C: move to frontends/
10069
10070         * main.C:
10071         * lyx_main.h:
10072         * lyx_main.C: changes from above
10073
10074 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10075
10076         * intl.C:
10077         * intl.h:
10078         * kbmap.C:
10079         * kbsequence.C:
10080         * lyx_cb.C:
10081         * lyx_main.C: minor tidy
10082
10083 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10084
10085         * BufferView_pimpl.h:
10086         * BufferView_pimpl.C:
10087         * BufferView.h:
10088         * BufferView.C: make painter() const,
10089           remove dead code
10090
10091         * BufferView2.C: use screen() accessor
10092
10093         * lyx_main.h:
10094         * lyx_main.C: some minor cleanup
10095
10096 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10097
10098         * BufferView_pimpl.h:
10099         * BufferView_pimpl.C: remove enter/leaveView,
10100           use workHeight()
10101
10102 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * BufferView.h:
10105         * BufferView.C:
10106         * BufferView2.C:
10107         * BufferView_pimpl.h:
10108         * BufferView_pimpl.C: only construct screen once,
10109           rename
10110
10111         * lyxrc.C: remove pointless comment
10112
10113 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * BufferView.h:
10116         * BufferView.C: remove active() and belowMouse()
10117
10118         * BufferView_pimpl.h:
10119         * BufferView_pimpl.C: use workarea() not workarea_,
10120           and make it use a scoped_ptr instead
10121
10122 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * lyx_gui.C: add debug message on BadWindow
10125
10126 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10127
10128         * sp_spell.C: fdopen is not part of the C++ standard.
10129
10130         * paragraph.C (InsetIterator): use >= instead of ==
10131
10132 2002-06-07  Angus Leeming  <leeming@lyx.org>
10133
10134         Fixes needed to compile with Compaq cxx 6.5.
10135         * BufferView_pimpl.C:
10136         * DepTable.C:
10137         * buffer.C:
10138         * converter.C:
10139         * encoding.C:
10140         * lyx_gui.C:
10141         * lyx_main.C:
10142         * lyxtextclasslist.C:
10143         * minibuffer.C:
10144         * sp_spell.C:
10145         * tabular_funcs.C:
10146         * vc-backend.C:
10147         all c-library variables have been moved into namespace std. Wrap
10148         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10149
10150         * lyxlength.C:
10151         * tabular-old.C:
10152         * tabular.C:
10153         Add a using std::abs declaration.
10154
10155         * kbmap.h (modifier_pair):
10156         * paragraph.h (InsetTable, InsetList):
10157         * lyxfont.h (FontBits):
10158         type definition made public.
10159
10160         * bufferlist.C (emergencyWriteAll): the compiler complains that
10161         there is more than one possible lyx::class_fun template to choose from.
10162         I re-named the void specialisation as lyx::void_class_fun.
10163
10164         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10165
10166         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10167         the compiler is is unable to find tostr in write_attribute.
10168
10169 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10170
10171         * buffer.C (sgmlError): hide #warning
10172
10173 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10174
10175         * xtl/*: get rid of xtl, which is not in use anyway
10176
10177         * LyXAction.C (init):
10178         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10179         were unimplemented xtl experimentation
10180
10181 2002-06-04  André Pönitz <poenitz@gmx.net>
10182
10183         * lyxfunc.C: disable array operation on simple formulae
10184
10185 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * converter.C: constify a bit
10188
10189 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10190
10191         * lyx_gui.C: check xforms version correctly
10192
10193 2002-04-30  Herbert Voss  <voss@lyx.org>
10194
10195         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10196         "keep" option
10197
10198 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10199
10200         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10201           attempt to register it with a VCS)
10202
10203 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10204
10205         * lyx_main.C (init): honor variables LYX_DIR_13x and
10206         LYX_USERDIR_13x
10207
10208 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10209
10210         * buffer.h:
10211         * buffer.C:
10212         * lyx_main.C: fix a crash on bad command line,
10213           and give a useful exit status on error
10214
10215         * lyxfunc.C (doImport): allow -i lyx to work
10216
10217 2002-03-30  André Pönitz <poenitz@gmx.net>
10218
10219         * lyxfunc.C: mathed font changes
10220
10221 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10222
10223         * LaTeX.C:
10224         * importer.h:
10225         * importer.C:
10226         * lyx_sty.h:
10227         * lyx_sty.C:
10228         * lyxlex.C:
10229         * lyxrow.h:
10230         * lyxtext.h:
10231         * paragraph.h:
10232         * paragraph.C:
10233         * texrow.h:
10234         * texrow.C:
10235         * text.C:
10236         * trans_mgr.h: srcdocs, and some minor cleanups
10237
10238 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10239
10240         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10241         call getFont all the time)
10242
10243 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10244
10245         * switch from SigC signals to boost::signals
10246
10247 2002-05-29  André Pönitz <poenitz@gmx.net>
10248
10249         * paragraph_pimpl.C (getChar): don't call size() too often...
10250
10251 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10252
10253         * paragraph_pimpl.C (insertChar): do not try to update tables when
10254         appending (pos == size())
10255
10256         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10257         in order to reduce drastically the number of comparisons needed to
10258         parse a large document
10259
10260 2002-05-29  André Pönitz <poenitz@gmx.net>
10261
10262         * text.C:
10263         * text2.C:
10264         * lyxtextclass.C:
10265         * sp_pspell.h:
10266         * textclasslist.[Ch]:
10267         * sp_ispell.h: whitespace change
10268
10269 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10270
10271         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10272         lyxaction directly now.
10273
10274 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10275
10276         * trans.C:
10277         * lyxfont.C:
10278         * lyxvc.C: remove unused headers
10279
10280 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10281
10282         * Makefile.am:
10283         * buffer.h:
10284         * undostack.h:
10285         * undostack.C:
10286         * undo_funcs.h:
10287         * undo_funcs.C: some cleanups. Use shared_ptr
10288           and a template for the undo stacks.
10289
10290 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10291
10292         * BufferView_pimpl.h:
10293         * BufferView_pimpl.C:
10294         * kbmap.h:
10295         * kbmap.C:
10296         * kbsequence.h:
10297         * kbsequence.C:
10298         * lyxfunc.h:
10299         * lyxfunc.C:
10300         * text2.C: use key_state/mouse_state
10301
10302 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10303
10304         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10305         and LSubstring
10306
10307         * chset.C: change include order
10308         (loadFile): use boost regex and get rid of LRegex and LSubstring
10309
10310         * Makefile.am (BOOST_LIBS): new variable
10311         (lyx_LDADD): use it
10312
10313         * LaTeX.C: change include order.
10314         (scanAuxFile): use boost regex and get rid of LRegex and
10315         LSubstring
10316         (deplog): ditto
10317
10318 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10319
10320         * ColorHandler.h:
10321         * ColorHandler.C:
10322         * FontInfo.h:
10323         * FontInfo.C: moved to frontends/xforms/
10324
10325         * FontLoader.h:
10326         * FontLoader.C: moved into frontends for GUIIzation
10327
10328         * Makefile.am:
10329         * lyx_gui.C:
10330         * lyxfont.C:
10331         * lyxfunc.C: changes from above
10332
10333 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * LColor.C: remove spurious X include
10336
10337         * BufferView_pimpl.C:
10338         * Makefile.am:
10339         * font.h:
10340         * font.C:
10341         * text.C:
10342         * text2.C: move font metrics to frontends/
10343
10344 2002-05-24  Juergen Vigna  <jug@sad.it>
10345
10346         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10347         setting the undo_cursor.
10348
10349         * ParagraphParameters.h: include local includes first.
10350
10351 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10352
10353         * BufferView_pimpl.C:
10354         * BufferView_pimpl.h:
10355         * Makefile.am:
10356         * WorkArea.h:
10357         * WorkArea.C:
10358         * screen.C: move WorkArea into frontends/
10359
10360         * lyxscreen.h:
10361         * screen.C:
10362         * text.C:
10363         * BufferView.C:
10364         * BufferView2.C: move LyXScreen into frontends/
10365
10366         * lyxlookup.h:
10367         * lyxlookup.C:
10368         * lyx_gui.C: move lyxlookup into frontends/xforms/
10369
10370 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * BufferView2.C:
10373         * BufferView_pimpl.C:
10374         * FontLoader.C:
10375         * LyXView.h:
10376         * LyXView.C:
10377         * Makefile.am:
10378         * WorkArea.C:
10379         * XFormsView.h:
10380         * XFormsView.C:
10381         * buffer.C:
10382         * bufferlist.C:
10383         * bufferview_funcs.C:
10384         * converter.C:
10385         * importer.C:
10386         * lyx_cb.C:
10387         * lyx_gui.C:
10388         * lyx_main.C:
10389         * lyx_find.C:
10390         * lyxfunc.C:
10391         * lyxvc.C:
10392         * minibuffer.C:
10393         * text.C:
10394         * text2.C:
10395         * trans.C:
10396         * vc-backend.C: move LyX/XFormsView into frontends/
10397
10398 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * Makefile.am:
10401         * PainterBase.C:
10402         * PainterBase.h:
10403         * Painter.C:
10404         * Painter.h:
10405         * WorkArea.C:
10406         * WorkArea.h:
10407         * screen.C:
10408         * tabular.C:
10409         * text.C:
10410         * text2.C: move Painter to frontends/
10411
10412 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10413
10414         * buffer.C: comment out some some code that depend upon lyx_format
10415         < 220
10416
10417         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10418         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10419
10420         * buffer.h (NO_COMPABILITY): turn off compability
10421
10422         * ColorHandler.C: include scoped_array.hpp
10423
10424         * font.C: Use more specific smart_ptr header.
10425         * Painter.C: ditto
10426         * gettext.C: ditto
10427         * ShareContainer.h: ditto
10428         * lyx_main.h: ditto
10429         * kbmap.h: ditto
10430         * FontInfo.h: ditto
10431         * BufferView_pimpl.h: ditto
10432         * ColorHandler.h: ditto
10433
10434         * kbmap.C (defkey): change call to shared_ptr::reset
10435
10436 2002-05-21  Juergen Vigna  <jug@sad.it>
10437
10438         * buffer.C (insertErtContents): fix to insert ert asis if it is
10439         non empty. Skip it completely if it contains only whitespaces.
10440
10441 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * BufferView_pimpl.C:
10444         * BufferView2.C: clear selection on paste (bug 393)
10445
10446 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10447
10448         * DepTable.C: include ctime
10449
10450 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10451
10452         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10453
10454 2002-05-14  Juergen Vigna  <jug@sad.it>
10455
10456         * text.C (breakParagraph): fixed function to honor the keepempty
10457         layout in the right maner and also to permit the right breaking
10458         algorithm on empty or non empyt keepempty paragraphs.
10459
10460         * paragraph.C (breakParagraph): we have to check also if the par
10461         is really empty (!size()) for isempty otherwise we do the wrong
10462         paragraph break.
10463
10464 2002-05-10  Juergen Vigna  <jug@sad.it>
10465
10466         * buffer.[Ch] : The following are only changes to the ert
10467         compatibility read reading old LaTeX layout and font stuff and
10468         convert it to ERTInsets.
10469
10470         * buffer.h: added isErtInset().
10471
10472         * buffer.C (struct ErtComp): add a fromlayout bool to check
10473         if we're inside a LaTeX layout.
10474         (isErtInset): new helper function.
10475         (insertErtContents): look for other ert insets before this one
10476         and insert the contents there, so that we don't have subsequent
10477         ERT insets with nothing between them. This way we create only one
10478         inset with multiple paragraphs. Also check if we don't insert only
10479         spaces ' ' as they are ignored anyway afterwards in the .tex file
10480         so if we have only spaces we will ignore this latex part in the
10481         new file.
10482         (parseSingleLyXformat2Token \\layout): better compatibility when
10483         reading layout-latex stuff.
10484         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10485         language tag.
10486         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10487         stuff after reading the inset only get the information back from
10488         the stack.
10489
10490 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10491
10492         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10493
10494         * LaTeXFeatures.C (getBabelOptions): New method.
10495
10496 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10497
10498         * BufferView_pimpl.C (Dispatch): work around missing argument for
10499         'layout'
10500
10501 2002-05-08  Juergen Vigna  <jug@sad.it>
10502
10503         * text.C (leftMargin): handle paragraph leftindent.
10504
10505         * paragraph.C (writeFile): write the new \\leftindent tag.
10506         (validate): handle leftindent code.
10507         (TeXEnvironment): handle paragraphleftindent code again.
10508
10509         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10510
10511         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10512         for paragrap_extra indent code and new token \\leftindent.
10513         (latexParagraphs): handle the leftindent as environment.
10514
10515         * ParameterStruct.h: added leftindent support.
10516
10517         * ParagraphParameters.C (leftIndent): added support functions for
10518         the paragraph left indent.
10519
10520         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10521         more appropriate.
10522
10523 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10524
10525         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10526         inside insetERT.
10527
10528         * text.C (computeBidiTables): No bidi in insetERT.
10529
10530         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10531         in RTL documents.
10532
10533 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10534
10535         * version.C.in: pre 5
10536
10537 2002-05-02  José Matos  <jamatos@fep.up.pt>
10538         * buffer.C (makeDocBookFile): white space changes, add newline to
10539         command styles.
10540         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10541
10542         * tabular.C (docBook): fix typo.
10543
10544 2002-05-03  Juergen Vigna  <jug@sad.it>
10545
10546         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10547         change in LyXText as we can not be sure it was not freed.
10548         (drawOneRow): remove unused code.
10549
10550         * text.C (drawInset): redo the calculation of the need_break_row as
10551         it could have a row which was already freed.
10552         (draw): look at the return value of drawInset and return false if
10553         it also returned false.
10554         (paintRowText): look at the return value of draw and return false if
10555         it also returned false.
10556
10557         * lyxtext.h: added bool return type to drawInset() and draw() so that
10558         if we have a change in the row so that the rowbreak has to be redone
10559         we abort drawing as it will be called again.
10560
10561 2002-05-02  Juergen Vigna  <jug@sad.it>
10562
10563         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10564         a change in the maintext also if we're inside an inset.
10565         (Dispatch): set the cursor again after a break line and after the
10566         screen has been updated as it could be we're in a different row.
10567
10568         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10569         to set the cursor behind the pargraph with > size().
10570         (setCursor): check also for the same paragraph when checking where
10571         to put the cursor if we have a NFR inset.
10572
10573         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10574         parts of layout read further up as it still was in the wrong
10575         position.
10576
10577 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10578
10579         * screen.C (drawFromTo): change sine fullRebreak always return
10580         true.
10581
10582         * buffer.C (parseSingleLyXformat2Token): reindent some
10583
10584         * BufferView_pimpl.C (update): change since fullRebreak always
10585         return true.
10586         (Dispatch): git rid of the last hardcoded "Standard"s.
10587
10588 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10589
10590         * text2.[Ch] (fullRebreak): make it return void now that we always
10591         returned true.
10592
10593 2002-04-30  Juergen Vigna  <jug@sad.it>
10594
10595         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10596         ert compatibility check for "latex" layout.
10597
10598 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10599
10600         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10601         minipages: use col% instead of p%, and also use the current font.
10602         (makeLaTeXFile): Fix use babel condition.
10603         (parseSingleLyXformat2Token): Correct font when reading old floats.
10604
10605 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10606
10607         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10608         inserting list of floats.
10609
10610 2002-04-25  Herbert Voss  <voss@lyx.org>
10611
10612         * MenuBackend.C (expand): don't add the graphics extensions to the
10613         export menu
10614
10615 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10616
10617         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10618         non-existing layout, do not complain if it was the default layout
10619         of the original class (bug #342)
10620
10621 2002-04-24  Juergen Vigna  <jug@sad.it>
10622
10623         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10624         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10625
10626 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10627
10628         * buffer.C (getBibkeyList): If using \bibliography, return the
10629         option field with the reference itself. Enables us to provide natbib
10630         support when using \bibliography.
10631
10632 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10633
10634         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10635
10636         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10637         natbib is provided by the LaTeX class.
10638
10639 2002-04-23  Juergen Vigna  <jug@sad.it>
10640
10641         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10642         Wakeup functions.
10643
10644         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10645
10646 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10647
10648         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10649
10650         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10651         ensuremath around textordmasculine, textordfeminine and
10652         textdegree.
10653
10654 2002-04-19  Juergen Vigna  <jug@sad.it>
10655
10656         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10657         reinitializing the buffer otherwise row-dimensions may be wrong.
10658         (update): reset also the selection cursors if they do exits otherwise
10659         their x/y positions may be wrong.
10660
10661         * text2.C (cursorDown): don't enter the inset if we came from a row
10662         above and are one row over the inset.
10663
10664         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10665         really leaving an inset.
10666
10667 2002-04-18  Juergen Vigna  <jug@sad.it>
10668
10669         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10670         of the selected paragraph does not have the selected layout also if
10671         the last one had!
10672
10673         * text2.C (setLayout): fixed bug which did not change last selected
10674         paragraph.
10675
10676         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10677         changed the read and substituted \\end_float with \\end_inset!
10678
10679         * BufferView_pimpl.C (cursorPrevious):
10680         (cursorNext): fixed to make it work with rows heigher than the work
10681         area without moving the cursor only the draw of the row.
10682         (workAreaMotionNotify): fix jumping over high rows.
10683
10684 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10685
10686         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10687         Ressler.
10688
10689 2002-04-16  Juergen Vigna  <jug@sad.it>
10690
10691         * text2.C (setCursor): set also the irow().
10692         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10693         (cursorUp):
10694         (cursorDown): support for locking an inset if the x_fix value goes
10695         inside it. That way I can transverse insets too with cursor up/down.
10696
10697         * lyxrow.h: added irow helper function same as other (i) functions.
10698
10699         * BufferView_pimpl.C (cursorPrevious):
10700         (cursorNext): fixed for insets!
10701
10702 2002-04-15  Juergen Vigna  <jug@sad.it>
10703
10704         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10705         position otherwise it is wrong in some cases.
10706
10707         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10708         inside the inset before the call.
10709
10710 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10711
10712         * buffer.[Ch] (getBibkeyList): make it const.
10713
10714 2002-04-12  Juergen Vigna  <jug@sad.it>
10715
10716         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10717
10718         * text2.C (getCursorX): new helper function
10719         (setCursor): compute also ix_
10720         (setCursorFromCoordinates): set also ix.
10721
10722         * lyxcursor.h: added ix_ and helper functions.
10723
10724         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10725
10726         * buffer.C (insertStringAsLines): dont break paragraph if the this
10727         paragraph is inside an inset which does not permit it!
10728
10729         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10730         also with no chars on this paragraph.
10731         (paintRowText): only paint stuff if it's inside the workarea!
10732
10733         * paragraph.C (breakParagraph): honor keepempty flag and break the
10734         paragraph always below not above.
10735
10736         * BufferView2.C (unlockInset): update the paragraph layout on inset
10737         unlock as we changed paragraph in such a case.
10738
10739         * lyxfind.C (LyXFind): clear the former selection if not found!
10740
10741         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10742         again called in insertChar().
10743
10744         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10745         an inset which uses the whole row!
10746         (rightMargin): ditto.
10747         (insertChar): force a rebreak if we inserted an inset!
10748
10749 2002-03-28  Herbert Voss  <voss@lyx.org>
10750
10751         * lyxlength.[Ch]: add inBP() to get the right PS-point
10752         units (BigPoint). With inPixels we have rounding errors
10753
10754 2002-04-11  Juergen Vigna  <jug@sad.it>
10755
10756         * text2.C (setCursorFromCoordinates): set iy to the right value.
10757         (setCursor): add check if row->previous exists!
10758
10759         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10760         an old float_type as this was the case in the old code!
10761
10762         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10763
10764         * BufferView2.C (showLockedInsetCursor): use iy
10765         (fitLockedInsetCursor): ditto
10766
10767         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10768         locked insets as there we have the right value now.
10769
10770         * lyxcursor.C: added iy_ variable and iy functions to set to the
10771         baseline of cursor-y of the locked inset.
10772
10773         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10774         (setCursor): fixed for insets which need a full row.
10775
10776         * text.C (rowLastPrintable): don't ignore the last space when before
10777         an inset which needs a full row.
10778         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10779         as last character of a row when before a inset which needs a full row.
10780
10781 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10782
10783         * version.C.in: update date
10784
10785         * text2.C (fullRebreak): try to always return true and see what
10786         happens...
10787
10788 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10789
10790         * MenuBackend.C (expand): use Floating::listName
10791
10792         * FloatList.C (FloatList): add listName argument to the built-in
10793         floats
10794
10795         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10796         text associated with the float.
10797
10798 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10799
10800         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10801
10802 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * ShareContainer.h: add a couple of missing typenames.
10805
10806 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10807
10808         * lyxrc.C (getDescription): use _() correctly rather than N_().
10809
10810 2002-03-28  Herbert Voss  <voss@lyx.org>
10811
10812         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10813         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10814
10815 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10816
10817         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10818         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10819
10820 2002-03-29  Juergen Vigna  <jug@sad.it>
10821
10822         * lyxfunc.C (dispatch): add a missing fitCursor call.
10823
10824         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10825         it was scrolled by a cursor move, so return the bool status.
10826
10827         * BufferView.C (fitCursor): return the bool flag also to the outside
10828         world as this is needed.
10829
10830         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10831
10832         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10833         call the edit() as it is not needed (and wrong) IMO.
10834         (workAreaButtonPress): set the screen_first variable before evt.
10835         unlock the inset as this may change screen_first and then we have
10836         a wrong y position for the click!
10837
10838 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10839
10840         * MenuBackend.C (expand): another translation that I missed
10841
10842 2002-03-28  Juergen Vigna  <jug@sad.it>
10843
10844         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10845
10846         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10847
10848 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10849
10850         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10851
10852         * MenuBackend.C (expand): fix export/view/update when there is no
10853         document open.
10854
10855 2002-03-27  Herbert Voss  <voss@lyx.org>
10856
10857         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10858         and text%
10859
10860 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10861
10862         * bufferview_funcs.C (currentState): only show paragraph number
10863         for is DEVEL_VERSION is set.
10864
10865         * lyxfunc.C (dispatch): put warning in INFO channel
10866
10867         * MenuBackend.C (expand): translate the name of floats
10868
10869         * FloatList.C (FloatList): mark the float names for translation
10870
10871         * converter.C (convert): use LibScriptSearch
10872
10873 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10874
10875         * MenuBackend.C (defaults): fix default menu (we might as well get
10876         rid of it...)
10877
10878 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10879
10880         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10881         directory.
10882
10883 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10884
10885         * lyxvc.C: reorder includes.
10886
10887 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10888
10889         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10890           properly
10891
10892 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10893
10894         * CutAndPaste.C: change layouts earlier on paste
10895           to avoid crashing when calling getFont()
10896
10897 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10898
10899         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10900         irritating #error.
10901
10902 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10903
10904         * WorkArea.C: remove 'Pending' debug message.
10905
10906         * most files: ws cleanup
10907
10908         * buffer.[Ch]: ws changes
10909
10910         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10911
10912 2002-03-21  Juergen Vigna  <jug@sad.it>
10913
10914         * tabular.C (SetMultiColumn): collapse also the contents of the
10915         cells and set the last border right. Added a Buffer const * param.
10916
10917 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10918
10919         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10920         linking or not.
10921
10922 2002-03-19  Juergen Vigna  <jug@sad.it>
10923
10924         * text2.C (clearSelection): reset also xsel_cache.
10925
10926         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10927         where it needs to be called (John tells us to do so too :)
10928         (selectionLost): reset sel_cache.
10929
10930         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10931
10932 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10933
10934         * text2.C (setCursorIntern): put debuging code in INSETS channel
10935
10936 2002-03-19  André Pönitz <poenitz@gmx.net>
10937
10938         * lyxfunc.C: tiny whitespace change
10939
10940 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10941
10942         * ToolbarDefaults.C (init):
10943         * LyXAction.C (init):
10944         * commandtags.h:
10945         * BufferView_pimpl.C (Dispatch):
10946         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10947
10948 2002-03-19  Allan Rae  <rae@lyx.org>
10949
10950         * exporter.C (Export): removeAutoInsets before doing anything else.
10951         While I've just introduced a dependency on BufferView this really is
10952         the best place to clean the buffer otherwise you need to cleanup in
10953         a dozen places before calling export or cleanup in a dozen functions
10954         that export calls.
10955
10956         * converter.C (runLaTeX):
10957         (scanLog): Better handling of removeAutoInsets and screen updates.
10958
10959         * lyxfunc.C (dispatch): small whitespace changes
10960
10961 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10962
10963         * WorkArea.C (C_WorkAreaEvent): return a value.
10964         (event_cb): return 1 if we handled the event, 0 otherwise.
10965
10966         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10967
10968 2002-03-18  Juergen Vigna  <jug@sad.it>
10969
10970         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10971         (GetAdditionalWidth): ditto.
10972         (RightLine): ditto.
10973         (LeftLine): ditto.
10974
10975         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10976         inset if we're there actually (probably not used right now but this
10977         is the direction to go for unifying code).
10978         (paste): disable code to clear the selection.
10979
10980         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10981         inside an InsetText and move the check further up as it is in the
10982         wrong place.
10983
10984         * text2.C (pasteSelection): set a selection over the pasted text.
10985
10986 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10987
10988         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10989         and libgraphics to build on Cygwin.
10990
10991 2002-03-15  Juergen Vigna  <jug@sad.it>
10992
10993         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10994         inserting an Inset into the paragraph. I know this is not the best
10995         fix but we already use current_view in CutAndPaste so we will remove
10996         all of it's using at the same time.
10997
10998         * buffer.C (sgmlError): deactivated function till it is rewritten in
10999         the right mode, now it can create problems.
11000
11001         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11002         before accessing it.
11003
11004 2002-03-14  Juergen Vigna  <jug@sad.it>
11005
11006         * undo_funcs.C (textHandleUndo): do the right thing when updating
11007         the inset after the undo/redo.
11008
11009         * text2.C (setCursor): just some testcode for #44 not ready yet.
11010
11011         * undo_funcs.C (textHandleUndo): set the next() and previous()
11012         pointers of the paragraph to 0 before deleting otherwise we have
11013         problems with the Paragraph::[destructor].
11014
11015         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11016         on a paragraph insertion.
11017
11018 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11019
11020         * buffer.C (asciiParagraph): use += operator for char append to
11021         string.
11022
11023         * paragraph.C (getFontSettings): compare >= not just >
11024         (highestFontInRange): ditto
11025         (setFont): ditto
11026
11027 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11028
11029         * paragraph.C: change several algorithm to be more appripriate for
11030         the problem domain. This is lookip in FontList and in the InsetList.
11031
11032 2002-03-13  André Pönitz <poenitz@gmx.net>
11033
11034         * commandtags.h:
11035         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11036
11037 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11038
11039         * commandtags.h:
11040         * LyXAction.C:
11041         * lyxfunc.C:
11042         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11043
11044 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11045
11046         * Painter.C (display): anon helper function, adjust code for this
11047         change.
11048         (pixmap): remove function.
11049
11050         * Painter.h: remove private display variable.
11051
11052         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11053
11054 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11055
11056         * WorkArea.[Ch]: remove figinset_canvas cruft.
11057
11058 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11059
11060         * lyxtextclass.C (operator): add one item cache optimization.
11061
11062         * bufferlist.h: doxy changes
11063
11064         * bufferlist.C: ws changes
11065
11066         * DepTable.[Ch] (ext_exist): place const in the right spot.
11067
11068         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11069         call resizeInsets.
11070         (workAreaExpose): call resizeInsets when the with BufferView changes.
11071         (Dispatch): adjust for protectedBlank removal
11072         (specialChar): call updateInset if the insert went ok.
11073
11074         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11075         specialChar instead.
11076
11077         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11078
11079         * BufferView.h: doxy change
11080
11081         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11082
11083         * lyxtextclass.C (operator[]): remove non-const version
11084         (defaultLayout): remove non-const version
11085
11086 2002-03-12  Juergen Vigna  <jug@sad.it>
11087
11088         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11089         did resize the LyXText too.
11090
11091         * buffer.C (readLyXformat2): set layout information on newly allocated
11092         paragraphs.
11093
11094         * tabular.C (OldFormatRead): set layout information on the paragraph.
11095
11096 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11097
11098         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11099
11100 2002-03-11  Juergen Vigna  <jug@sad.it>
11101
11102         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11103         plainly wrong.
11104         (resizeCurrentBuffer): force also the insets to resize themselfes.
11105         (moveCursorUpdate): fixed up for InsetText.
11106
11107 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11108
11109         * commandtags.h:
11110         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11111         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11112         value of Dialogs::tooltipsEnabled().
11113         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11114
11115 2002-03-08  Juergen Vigna  <jug@sad.it>
11116
11117         * BufferView_pimpl.C (updateInset): update inset inside inset also
11118         if it isn't inside theLockingInset().
11119
11120 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11121
11122         * buffer.C (asciiParagraph): redo some of the word and line length
11123         handling.
11124         (getLists): look for Caption instead of caption.
11125
11126 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11127
11128         * buffer.C (Buffer): initialize niceFile to true
11129         (makeLaTeXFile):
11130         (makeLinuxDocFile):
11131         (makeDocBookFile): make sure niceFile is true on exit
11132
11133 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11134
11135         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11136
11137 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11138
11139         * LyXSendto.C: remove.
11140         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11141         * lyx_gui.C: remove now-redundant comment.
11142         * ColorHandler.h: remove forward declaration of class WorkArea.
11143         * lyxfunc.C: remove #include "WorkArea.h".
11144
11145 2002-03-07  Juergen Vigna  <jug@sad.it>
11146
11147         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11148         got moved away with the DEPM and also set the inset_owner always
11149         right which before could have been omitted.
11150
11151 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11152
11153         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11154         wanted layout is not found.
11155
11156 2002-03-07  Juergen Vigna  <jug@sad.it>
11157
11158         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11159
11160 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11161
11162         * paragraph.C (breakParagraph): use default layout not layout of
11163         prev paragraph.
11164         (Paragraph): clear ParagraphParameters.
11165
11166 2002-03-06  Juergen Vigna  <jug@sad.it>
11167
11168         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11169         otherwise it would not be a valid lenght. Fixed a special case in
11170         the minipage compatibility read where we end the document with a
11171         minipage.
11172
11173         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11174         was set as it could be 0 for InsetTexts first entry.
11175
11176 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * paragraph.C (writeFile): if layout is empty write out
11179         defaultLayoutName().
11180
11181         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11182         file without named layout we set layout to defaultLayoutName().
11183
11184 2002-03-06  Juergen Vigna  <jug@sad.it>
11185
11186         * CutAndPaste.C (copySelection): set layout for new paragraph.
11187
11188         * text.C (prepareToPrint): leave ERT inset left aligned
11189         (leftMargin): don't indent paragraphs inside ERT insets
11190
11191 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11192
11193         * paragraph.C (breakParagraph): dont call clear do the work manually
11194
11195         * paragraph.[Ch] (clear): remove function
11196
11197 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11198
11199         * paragraph.C (Paragraph): dont call clear, the work has already
11200         been done.
11201
11202         * lyxtextclass.C (operator): assert if n is empty
11203
11204         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11205         work manually instead.
11206
11207 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * BufferView_pimpl.C: protect selectionLost against text == 0
11210
11211 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * text.C (breakParagraph): fix a setting layout to '0' problem.
11214
11215 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11216
11217         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11218         final location of file, for the included files, and graphics.
11219
11220 2002-03-05  Juergen Vigna  <jug@sad.it>
11221
11222         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11223
11224 2002-03-04  Juergen Vigna  <jug@sad.it>
11225
11226         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11227
11228         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11229         last column of multicolumn cells.
11230         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11231
11232 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11233
11234         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11235         file if it doesn't go to a temporary file.
11236
11237         * buffer.C (sgmlOpenTag):
11238         (sgmlCloseTag):  remove extra newline insertion.
11239
11240 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11241
11242         * text.C (getRowNearY): comment out debug msg
11243
11244 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11245
11246         * text2.C: first -> first_y
11247
11248         * text.C (getRowNearY): add some attemts at a possible
11249         optimization, not working.
11250
11251         * tabular.[Ch]: add BufferParams to several function so that newly
11252         created paragraph can be initialized to he default layotu for the
11253         buffers textclass.
11254
11255         * tabular-old.C (ReadOld): add buf->params to call of Init
11256
11257         * screen.C: rename text->first to text->first_y
11258
11259         * paragraph.C (breakParagraph): always set layout in the broken
11260         paragraph
11261
11262         * lyxtextclass.C (Read): remove lowercase
11263         (hasLayout): ditto
11264         (operator): ditto
11265         (delete_layout): ditto
11266
11267         * lyxtext.h: rename first -> first_y
11268
11269         * lyxlayout.C (Read): remove lowercase
11270         (name): ditto
11271         (setName): ditto
11272         (obsoleted_by): ditto
11273
11274         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11275
11276         * buffer.C (insertErtContents): add params are to InsetERT
11277         (parseSingleLyXformat2Token): add code to check if a paragraphs
11278         layout really exist.
11279         (parseSingleLyXformat2Token): add params to several inset
11280         constructors
11281         (asciiParagraph): remove lowercase, do the layout comparisons with
11282         no_case
11283
11284         * BufferView_pimpl.C (cursorNext): first -> first_y
11285         (resizeCurrentBuffer): first -> first_y
11286         (updateScrollbar): first -> first_y
11287         (scrollCB): first -> first_y
11288         (workAreaMotionNotify): first -> first_y
11289         (workAreaButtonPress): first -> first_y
11290         (checkInsetHit): first -> first_y
11291         (cursorPrevious): first -> first_y
11292         (cursorNext): first -> first_y
11293         (Dispatch): add buffer_->params to severl inset contructors
11294
11295 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11296
11297         * lyxlayout.C (Read): remove some debug info that I forgot.
11298
11299         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11300         clean up the code slightly.
11301         (makeLinuxDocFile): ditto
11302         (makeDocBookFile): ditto
11303
11304         * text2.C: layout as string
11305
11306         * text.C: layout as string
11307
11308         * paragraph_pimpl.C: layout as string
11309
11310         * paragraph.[Ch]: layout as string
11311
11312         * lyxtextclasslist.[Ch]: layout as string
11313
11314         * lyxtextclass.[Ch]: layout as string
11315
11316         * lyxtext.h: layout as string
11317
11318         * lyxlayout.[Ch]: layout as string
11319
11320         * lyx_cb.C: layout as string
11321
11322         * bufferview_funcs.C: layout as string
11323
11324         * bufferparams.C: layout as string
11325
11326         * buffer.C: layout as string
11327
11328         * LyXView.[Ch]: layout as string
11329
11330         * LaTeXFeatures.[Ch]: layout as string
11331
11332         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11333
11334         * BufferView_pimpl.C: change current_layout to string, remove
11335         lyx::layout_type.
11336         (Dispatch):
11337         (smartQuote):
11338         (insertInset):
11339         (workAreaButtonRelease): layout as string
11340
11341         * BufferView2.C (unlockInset): adjust
11342
11343         * vspace.C (asLatexCommand): use an explict temp variable.
11344
11345 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11346
11347         * Makefile.am: use FRONTEND_*
11348
11349 2002-03-01  Juergen Vigna  <jug@sad.it>
11350
11351         * tabular.C (SetWidthOfMulticolCell): changed to something better
11352         I hope but still work in progress.
11353         (recalculateMulticolumnsOfColumn): renamed function from
11354         recalculateMulticolCells as it is more appropriate now.
11355         (SetWidthOfCell): calculate multicols better.
11356
11357 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11358
11359         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11360
11361         * lyxfunc.C (processKeySym): print sequence also if it is
11362         `deleted' (complete)
11363
11364         * kbsequence.C (print): print sequence even if it is deleted
11365         (complete would be a better word, actually).
11366
11367         * lyxfunc.C (dispatch): print complete options after a prefix key
11368
11369         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11370
11371 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11372
11373         * text2.C (setCharFont): eliminate setCharFont code duplication.
11374
11375 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11376
11377         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11378         LFUN_TABULAR_FEATURE (bug #177)
11379
11380 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11381
11382         * Makefile.am: remove figure.h
11383
11384 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11385
11386         * Bufferview_pimpl.C:
11387         * CutAndPasteC:
11388         * LaTeX.C:
11389         * LyXSendto.C:
11390         * buffer.C:
11391         * bufferlist.C:
11392         * converter.C:
11393         * language.C:
11394         * lyxfunc.C:
11395         * lyxvc.C:
11396         * paragraph.C:
11397         * text.C:
11398         * text2.C: remove #include "lyx_gui_misc.h".
11399
11400         * LaTeX.C: added #include <cstdio>
11401
11402 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11403
11404         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11405         that the paragraph following this one can have.
11406
11407         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11408
11409         * vspace.C (asLatexCommand): fix bogus gcc warning
11410
11411         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11412
11413 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11414
11415         * text2.C (setLayout): get rid of redundant code
11416
11417 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11418
11419         * text2.C (incDepth): make sure depth cannot be increased beyond
11420         reasonable values.
11421
11422 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11423
11424         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11425         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11426
11427         * PainterBase.h (image):
11428         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11429         a LyXImage const *.
11430
11431 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * BufferView.C:
11434         * BufferView.h:
11435         * BufferView_pimpl.C:
11436         * BufferView_pimpl.h:
11437         * LaTeXFeatures.C:
11438         * LyXAction.C:
11439         * LyXView.C:
11440         * Makefile.am:
11441         * UpdateList.h:
11442         * UpdateList.C:
11443         * buffer.C:
11444         * figure.h:
11445         * figureForm.C:
11446         * figureForm.h:
11447         * figure_form.C:
11448         * figure_form.h:
11449         * lyx_cb.C:
11450         * lyx_gui.C:
11451         * lyx_gui_misc.C:
11452         * lyxfunc.C:
11453         * sp_base.h:
11454         * sp_ispell.h:
11455         * sp_pspell.h:
11456         * sp_spell.C: remove fig inset, and the crap house of
11457           cards that follows it
11458
11459 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11460
11461         * Makefile.am:
11462         * lyxserver.C:
11463         * os2_defines.h:
11464         * os2_errortable.h:
11465         * nt_defines.h: move .h into support/
11466
11467         * vms_defines.h: remove
11468
11469         * WorkArea.C: add space in debug output
11470
11471         * text2.C:
11472         * paragraph.C:
11473         * buffer.C: add WITH_WARNINGS
11474
11475         * vc-backend.h:
11476         * vc-backend.C:
11477         * bufferlist.C: s/retrive/retrieve/, add docs
11478
11479         * vspace.h:
11480         * vspace.C:
11481         * kbmap.h:
11482         * lyxlength.h:
11483         * lyxgluelength.h:
11484         * length_common.h:
11485         * chset.h:
11486         * chset.C: add docs
11487
11488         * lyxgui.C: add ID to X error handler
11489
11490         * lyxtestclass.c: fix typo
11491
11492 2002-02-26  Juergen Vigna  <jug@sad.it>
11493
11494         * tabular_funcs.C (write_attribute): changed so that some default
11495         attributes are not written at all.
11496         (getTokenValue): set default values before trying to read the
11497         value so we have the return value always set as default if we don't
11498         find the token we search for.
11499
11500         * tabular.C (Write): write bools as bools not as strings!
11501
11502 2002-02-22  Juergen Vigna  <jug@sad.it>
11503
11504         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11505         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11506
11507         * text.C (leftMargin): don't add an indent for paragraphs inside
11508         tabular cells (fix #208).
11509
11510 2002-02-21  José Matos  <jamatos@fep.up.pt>
11511
11512         * tabular.C (docBook): fixed support for long tables.
11513
11514 2002-02-20  Juergen Vigna  <jug@sad.it>
11515
11516         * text2.C (getFont): get the drawing font of the Inset if this
11517         paragraph is inside an inset (only important for InsetERT for now).
11518
11519         * buffer.C (insertErtContents): use new lanugage params in ERT
11520         constructor.
11521
11522         * CutAndPaste.C: commenting out seemingly uneeded code.
11523
11524 2002-02-19  Allan Rae  <rae@lyx.org>
11525
11526         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11527         Iterators might be simple to use but they also get invalidated.
11528         (removeAutoInsets): renamed saved cursor tracking variables and added
11529         some comments to clarify what everything does.
11530
11531 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11532
11533         * Chktex.C:
11534         * LaTeX.C:
11535         * LyXSendto.C:
11536         * converter.C:
11537         * lyx_cb.C:
11538         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11539         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11540
11541         * lyxfunc.C:
11542         * vc-backend.h: remove #include "support/syscall.h"
11543
11544         * LaTeX.C:
11545         * LyXSendto.C:
11546         * converter.C: rearrange #includes in Lars' approved fashion.
11547
11548         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11549         forward declare class Timeout in the header file.
11550
11551         * XFormsView.C: changes due to the above.
11552
11553         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11554         similar to LyXView.
11555
11556         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11557         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11558
11559 2002-02-18  José Matos  <jamatos@fep.up.pt>
11560
11561         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11562         insets contents.
11563
11564 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11565
11566         * a lot of small ws changes
11567         * add a lot of using std::XXX
11568         * use std construcs some places where approp.
11569         * use some exisint stuff from lyxfunctional where approp.
11570         * Make file changes to use partial linking (lets test this now...)
11571
11572 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11573
11574         * Chktex.C:
11575         * buffer.C:
11576         remove #include "support/syscontr.h" as it's redundant. Always has been.
11577
11578         * Chktex.C:
11579         * LaTeX.C:
11580         * LyXSendto.C:
11581         * converter.C:
11582         * lyx_cb.C:
11583         * vc-backend.C:
11584         change Systemcalls::System to Systemcalls::Wait and
11585         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11586         No change of functionality, just reflects the stripped down Systemcalls
11587         class.
11588
11589 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11590
11591         * debug.[Ch]: add a GRAPHICS type to the enum.
11592
11593 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11594
11595         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11596
11597         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11598         there is an inset.
11599
11600 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11601
11602         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11603         match the changes below.
11604
11605         * text2.C (toggleInset): if there is not editable inset at cursor
11606         position, try to see if cursor is _inside_ a collapsable inset
11607         and close it.
11608
11609 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11610
11611         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11612         document menu has a nice checkbox
11613
11614 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * lyxlength.C (asLatexString): change PW to output as percent of
11617         \textwidth.
11618
11619         * lengthcommon.C: change '%' to 't%'
11620
11621         * lyxfunc.C (dispatch): a few comments from Martin
11622
11623 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11624
11625         * WorkArea.h:
11626         * WorkArea.C:
11627         * BufferView_pimpl.h:
11628         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11629           the X selection.
11630
11631 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11632
11633         * vspace.C (inPixels): fix compiler warning
11634
11635 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11636
11637         * lyxfunc.C (getStatus): fix status message for disabled commands.
11638
11639 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11640
11641         * BufferView_pimpl.C: fix crash on close buffer
11642         during selection (#227)
11643
11644 2002-01-27  Herbert Voss  <voss@lyx.org>
11645
11646         * buffer.C: link old Figure to new graphic inset
11647
11648 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11649
11650         * FontLoader.C (getFontinfo): Change the latex font names in order
11651         to match the names of type1inst.
11652
11653 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11654
11655         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11656
11657         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11658         (extchanged): ditto
11659         (ext_exist): ditto
11660         (remove_files_with_extension): ditto
11661         (remove_file): ditto
11662         (write): ditto
11663
11664         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11665         document is smaller than the work area height. Do not initialize
11666         static variables to 0.
11667
11668 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11669
11670         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11671
11672         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11673         LFUN_LAYOUT_PARAGRAPHS.
11674
11675         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11676         tabular. It is possible to provide a possible cell, which will
11677         typically be the actcell from the corresponding insettabular
11678
11679         * lyxfunc.C (getStatus): small cleanup; disable
11680         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11681         true
11682
11683 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11684
11685         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11686
11687         * paragraph.C (startTeXParParams):
11688         (endTeXParParams): new methods. The LaTeX code to
11689         start/end paragraph formatting
11690         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11691         empty (fixes bug #200)
11692
11693         * vspace.C (inPixels): adapt to the change below
11694         (inPixels): [later] more cleanups (remove unused variables)
11695
11696         * lyxlength.C (inPixels): change to use a width and a height as
11697         parameter.
11698
11699 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11700
11701         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11702         Replaced with \paperwidth
11703
11704         * DepTable.C (insert): add std:: qualifier
11705
11706 2002-01-18  Allan Rae  <rae@lyx.org>
11707
11708         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11709         updated also?
11710
11711         * text.C (drawInset): Turned out I didn't know enough about how
11712         rebreaking worked.  This fixes most of the redraw problems.  I see
11713         an occasional cursor trail when a line is broken now and the cursor
11714         placement can seem out by a few pixels also after a rebreak.
11715
11716 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11717
11718         * buffer.C (parseSingleLyXformat2Token): update because minipage
11719         width is now a LyXLength
11720
11721         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11722
11723         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11724         math insets
11725
11726 2002-01-17  Juergen Vigna  <jug@sad.it>
11727
11728         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11729
11730         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11731         is set correctly and the inset is updated correctly.
11732
11733 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11734
11735         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11736         the beginning of the loop.
11737
11738 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11739
11740         * lyxrc.C: improve help for use_scalable_fonts
11741
11742 2002-01-17  Allan Rae  <rae@lyx.org>
11743
11744         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11745
11746 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11747
11748         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11749         make sure to set their inset_owner to the right value (bug #171)
11750
11751 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11752
11753         * DepTable.h
11754         * DepTable.C: Implement mtime checking to reduce time spent doing
11755         CRCs.
11756
11757 2002-01-16  Juergen Vigna  <jug@sad.it>
11758
11759         * tabular.C (GetAdditionalHeight): one of error fixed.
11760
11761         * lyxrc.C (output): small fix in writing use_pspell.
11762
11763 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11764
11765         * sp_base.h: #include LString.h
11766
11767 2002-01-16  Allan Rae  <rae@lyx.org>
11768
11769         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11770         Can someone check this please?
11771
11772         * text.C (drawInset): It was possible that p.row would be removed by
11773         breakAgainOneRow upsetting a few other settings.  There may be another
11774         small tweak possible by setting need_break_row = 0 when p.row has been
11775         removed but I don't know enough about the logic here.
11776
11777 2002-01-15  Allan Rae  <rae@lyx.org>
11778
11779         * text.C (insertChar): removed conditional truism.
11780
11781         * BufferView2.C (removeAutoInsets): More tweaks.
11782         cur_par_prev could be a stray pointer.  Check for trailing empty line
11783         in case last line was cur_par and only had an error inset on it.
11784
11785 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11786
11787         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11788         absolute
11789
11790         * vc-backend.C (most methods):
11791         * exporter.C (Export):
11792         * converter.C (convert):
11793         (runLaTeX):
11794         * LyXSendto.C (SendtoApplyCB):
11795         * lyxfunc.C (dispatch):
11796         (menuNew):
11797         (open):
11798         (doImport):
11799         * lyx_cb.C (AutoSave):
11800         (InsertAsciiFile):
11801         * BufferView_pimpl.C (MenuInsertLyXFile):
11802         * buffer.C (runChktex): use Buffer::filePath().
11803
11804         * buffer.h: rename filename to filename_; rename filepath to
11805         filepath_ and make it private
11806         (filePath): new method
11807
11808         * buffer.C (writeFile): use fileName()
11809         (getLatexName):
11810
11811         * lyx_main.C (init): fix starting  of LyX when the binary is a
11812         link from so,ewhere else.
11813
11814         * minibuffer.C: include <cctype> for isprint
11815
11816 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11817
11818         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11819         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11820         name clash with InsetCollapsable's width function.
11821
11822 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11823
11824         * lastfiles.C: include <iterator>
11825
11826 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11827
11828         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11829         std::count.
11830
11831         * buffer.C (makeLaTeXFile): ditto.
11832         Also make loop operation more transparent.
11833
11834 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11835
11836         * ToolbarDefaults.C: remove trailing comma closing namespace.
11837
11838         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11839
11840         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11841         as in WorkArea.
11842
11843         * trans.C (Load): comment out unused variable, allowed.
11844
11845 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11846
11847         * minibuffer.[Ch] (append_char): new method to recieve input from the
11848         drop-down completion browser. If a key was pressed, then recieve this
11849         char and append it to the existing string.
11850         (peek_event): modify the positioning data passed to the completion
11851         browser so that it can be placed above the minibuffer rather than below.
11852 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11853
11854         * LyXAction.C (init): alloe error-next for readonly documents.
11855
11856         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11857         count.
11858
11859 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11860
11861         * bufferlist.C (readFile): create the buffer _after_ checking that
11862         the file exists.
11863
11864         * lyxfunc.C (verboseDispatch): fix handling of arguments
11865
11866         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11867
11868         * lyxrc.C: use string::erase() instead of initializing to "".
11869
11870
11871 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * BufferView_pimpl.h:
11874         * BufferView_pimpl.C:
11875         * WorkArea.h:
11876         * WorkArea.C:
11877         * text2.C: tell X when we have made a selection for copying
11878
11879 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11880
11881         * BufferView_pimpl.C (MenuInsertLyXFile):
11882         * lyxfunc.C (menuNew):
11883         (open):
11884         (doImport): add shortcuts to directory buttons
11885
11886         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11887         open a float)
11888
11889         * lyxfunc.C (setStatusMessage):
11890         (getStatusMessage): new methods
11891         (getStatus):use setStatusMessage instead of setErrorMessage
11892         (dispatch): when function is disabled, set error message here
11893         [instead of in getStatus previously]
11894
11895         * BufferView_pimpl.C (workAreaButtonRelease): update
11896         toolbar/menubar here too.
11897
11898 2002-01-13  Allan Rae  <rae@lyx.org>
11899
11900         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11901         Now seems indestructible.  Remaining task is to audit all other
11902         code affected by deleteEmptyParagraphMechanism.  One small quirk
11903         left is that an empty document with an error in the preamble can
11904         be made to report an error but no error box appears.  I don't know
11905         where it goes.
11906         (removeAutoInsets): Improved comments.
11907
11908 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * Thesaurus.h:
11911         * Thesaurus.C: update for Aiksaurus 0.14
11912
11913 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11914
11915         * text2.C (firstParagraph): removed member function, all uses
11916         replaces with ownerParagraph
11917         (redoParagraphs): here
11918         (updateInset): here
11919         (toggleAppendix): here
11920         * BufferView2.C (insertErrors): here
11921         (setCursorFromRow): here
11922
11923 2002-01-13  Allan Rae  <rae@lyx.org>
11924
11925         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11926         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11927         There is still a way to segfault this although you may have to do this
11928         multiple times: Have an InsetERT with an unknown command in it.
11929         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11930         <down-arrow>, <Enter> again, View->DVI, BANG!
11931
11932         * text2.C (setCursor):
11933         (deleteEmptyParagraphMechanism):
11934         * lyxtext.h (setCursor):
11935         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11936         Making use of the return value may help fix other bugs.
11937
11938 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11939
11940         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11941
11942         * LyXView.C (updateMenubar): call MenuBar::update here
11943         (updateToolbar): but not here
11944         (showState): do not update toolbar/menubar
11945
11946         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11947         should need to care about that.
11948
11949         * lyxfunc.C (verboseDispatch): simplify a bit
11950         (getStatus): have a version which takes a pseudoaction, and
11951         another which requires a (kb_action,string).
11952
11953         * LyXAction.C (retrieveActionArg): make it work also when action
11954         is not a pseudo-action.
11955         (getActionName): simplify a bit
11956         (helpText):
11957
11958 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11959
11960         * lyxfunc.C (verboseDispatch): new families of methods with
11961         several ways to specify a command and a bool to indicate whether
11962         the command name and shortcut should be displayed in minibuffer
11963         (eventually, we could extend that to a finer bitmask like
11964         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11965         (dispatch): the pristine dispatch command which just, well,
11966         dispatchs! Note it still sets its result to minibuffer; I'm not
11967         sure we want that.
11968
11969         * lyxfunc.h: remove setHintMessage
11970
11971         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11972
11973 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11974
11975         * BufferView_pimpl.C (specialChar): delete new inset if we have
11976         not been able to insert it.
11977
11978         * kbmap.C: revert to using int instead of kb_action, since all we
11979         are dealing with is pseudo-actions.
11980
11981         * LyXAction.C (searchActionArg): change to return int instead of
11982         kb_action, since the result is a pseudoaction.
11983
11984 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11985
11986         * buffer.C (insertErtContents): Fix (partially) the font bug.
11987
11988 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11989
11990         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11991         as the other one is broken on my machine!
11992
11993 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11994
11995         * commandtags.h:
11996         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11997
11998 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11999
12000         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12001         reflect their actual use. Provide compatibility code for older lyxrc
12002         files.
12003
12004         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12005         FL_NORMAL_STYLE.
12006         change names of popup font variables in line with the changes to lyxrc.C
12007
12008 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12009
12010         * buffer.C (asciiParagraph): avoid outputing a word twice after
12011         an inset.
12012
12013         * lyxrc.C (getDescription): document that document_path and
12014         template_path can be empty.
12015
12016 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12017
12018         * LaTeXFeatures.C (getMacros):
12019         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12020
12021         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12022
12023         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12024         getPackages.
12025         (getPackages): rename feature "floats" to "float". Use an array to
12026         iterate over 'simple' features (i.e. just a \usepackage). Add
12027         handling of "amsmath" (renamed from "amsstyle").
12028
12029 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12030
12031         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12032         features list.
12033
12034 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12035
12036         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12037         FuncStaus::FuncStatus & FuncStaus::some_method().
12038
12039 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12040
12041         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12042         of the func_satus stuff. Edited and massaged in various ways by
12043         JMarc.
12044
12045         * lyxfunc.C (getStatus): use FuncStatus
12046
12047 2002-01-08  Juergen Vigna  <jug@sad.it>
12048
12049         * text.C (nextBreakPoint): use function Inset::isChar().
12050
12051         * paragraph.C (TeXOnePar): use function
12052         Inset::forceDefaultParagraphs.
12053
12054         * buffer.C (latexParagraphs): use function
12055         Inset::forceDefaultParagraphs.
12056
12057 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12058
12059         * lyx_gui.C (init): set the style of the menu popups to
12060         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12061
12062 2002-01-07  Juergen Vigna  <jug@sad.it>
12063
12064         * text.C (setHeightOfRow): small fix
12065         (prepareToPrint): don't look at alignment if we don't have the place
12066         for doing it.
12067
12068 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12069
12070         * box.C: New file. Move the Box methods and functions out of box.h,
12071         following Lars' suggestion.
12072
12073 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12074
12075         * box.h: #include "support/LOstream.h", needed for inlined function.
12076
12077         * lyxtextclass.C:
12078         * lyxtextclasslist.C: added some using std declarations.
12079
12080 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12081
12082         * box.h: make signed dimensions to allow insets wider than
12083           the screen (bug #162)
12084
12085         * BufferView_pimpl.C: add some insetHit debug
12086
12087 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * vc-backend.C: add FIXME
12090
12091 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12092
12093         * lyxfunc.C (getStatus): enable code for showing math font status
12094         in toolbar/menu.
12095
12096 2002-01-07  Juergen Vigna  <jug@sad.it>
12097
12098         * text.C (nextBreakPoint): removed debug output not needed anymore.
12099
12100 2002-01-06  Juergen Vigna  <jug@sad.it>
12101
12102         * text.C (nextBreakPoint): fixed up this function we had this bug
12103         since ever but now hopefully we break row better.
12104         (insertChar): we have to check if an inset is the next char as it
12105         could now happen that a large inset is causing a break.
12106
12107 2002-01-05  Juergen Vigna  <jug@sad.it>
12108
12109         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12110         if it doesn't like to be drawed.
12111
12112 2002-01-04  Juergen Vigna  <jug@sad.it>
12113
12114         * BufferView2.C (lockInset): forgot to set a cursor.
12115
12116         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12117
12118 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12119
12120         * FormMathsPanel.C:
12121         * FormMathsPanel.h
12122         * MathsSymbols.C:
12123         * form_maths_panel.C:
12124         * form_maths_panel.h:
12125         * form_maths_panel.fd: implemented sub- and super- buttons in math
12126         panel.
12127
12128         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12129         (or ^ space) to be used as in TeX (req'd by André).
12130
12131         * lyxfunc.C: Allow ^ and _ again to be used both as
12132         super/subscript (mathed) and as themselves (in text).
12133
12134 2002-01-03  Allan Rae  <rae@lyx.org>
12135
12136         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12137         "LyX" or the filename of the current buffer if it has one.  This is a
12138         modified form of John Levon's patch.
12139
12140         * XFormsView.C (setWindowTitle): also set icon title.
12141
12142         * LyXView.h (setWindowTitle): signature changed.
12143         * XFormsView.h (setWindowTitle): ditto.
12144
12145 2002-01-02  Juergen Vigna  <jug@sad.it>
12146
12147         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12148
12149 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12150
12151         * screen.C (topCursorVisible): introduce a temp var for
12152         text->cursor.row(), handle the case where this row is null. (kindo
12153         hachish)
12154
12155         * text2.C (setCursor): add a couple of asserts.
12156
12157         * paragraph.h (inset_iterator): add -> operator
12158
12159         * paragraph.[Ch] (autoDeleteInsets): remove member function
12160
12161         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12162         cursor pos correctly and handle inset deletion by itself.
12163         (insertErrors): move iterator declaration out of for expression
12164
12165         * lyxtextclass.C: add <algorithm>
12166
12167         * Makefile.am: added the new files to sources, removed layout.C
12168
12169         * layout.C: removed file
12170
12171         * layout.h: remove LYX_DUMMY_LAYOUT
12172
12173         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12174         layout.
12175
12176         * lyxlayout.[Ch]:
12177         * lyxtextclass.[Ch]:
12178         * lyxtextclasslist.[Ch]: new files
12179
12180         * include order changes to a lot of files, also changes because of
12181         the six new files.
12182
12183 2001-12-27  Juergen Vigna  <jug@sad.it>
12184
12185         * buffer.C (asciiParagraph): more fixes.
12186
12187         * tabular.C (ascii): make ascii export support export of only the
12188         data separated by a column-delimiter.
12189         (ascii): better support for ascii export.
12190
12191         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12192
12193 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12194
12195         * tabular_funcs.C: use a "using std::getline" instead of the
12196         previous fix from Angus (necessary for cxx + lyxstring)
12197
12198 2001-12-24  Juergen Vigna  <jug@sad.it>
12199
12200         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12201
12202         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12203         problems. First check a minipage also if we have some ert-contents
12204         (not only on par->size(), second set the right depth of the paragraph
12205         on the relink to the root-paragraph-list!
12206
12207         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12208         which then did not anymore update the main paragraphs on undo/redo!
12209
12210 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12211
12212         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12213         code. Support all font-changing funcs (even those which are not in
12214         menu currently). Support for reporting font settings in
12215         mathed (disabled until Andre provides a function on mathed's side).
12216
12217         * func_status.h (toggle): small helper function to set toggle
12218         state on a flag.
12219
12220 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12221
12222         * tabular_funcs.C: getline -> std::getline
12223
12224 2001-12-21  Juergen Vigna  <jug@sad.it>
12225
12226         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12227         accessed and could be 0 (I couldn't generate this but it seems
12228         Michael could!).
12229
12230 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12233         * tabular_funcs.h: here and include iosfwd
12234
12235 2001-12-20  Juergen Vigna  <jug@sad.it>
12236
12237         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12238         inside inset but undo_par was.
12239
12240 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12241
12242         * Thesaurus.C: always include <config.h> in sources.
12243
12244         * Painter.h:
12245         * lyxlookup.h:
12246         * box.h: do not include <config.h> in header files
12247
12248         * text.C (paintLastRow): remove unused variable
12249
12250         * text.C (transformChar):
12251         (insertChar):
12252         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12253
12254         * Painter.C (text):
12255         * font.C (width): rewrite to use uppercase() instead of
12256         islower/toupper.
12257
12258         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12259
12260 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * lyxfind.C: clean up of find failure position change
12263
12264 2001-12-20  Juergen Vigna  <jug@sad.it>
12265
12266         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12267
12268         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12269         (TeXRow): added to LaTeX a single tabular row.
12270         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12271         (Latex): simplified and finally good LT-h/f support.
12272         (various_functions): just small adaptions for LT-h/f support.
12273
12274         * tabular_funcs.[hC]: added and moved here all not classfunctions
12275         of LyXTabular.
12276
12277 2001-12-19  Juergen Vigna  <jug@sad.it>
12278
12279         * tabular.[Ch]: better support for longtabular options (not finished
12280         yet!)
12281
12282 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12283
12284         * text.C (paintLastRow): use the label font instead of the font of
12285         the last character to compute the size of *_BOX. This makes more
12286         sense and avoids a crash with empty paragraphs.
12287         Use Painter::rectangle to draw EMPTY_BOX.
12288
12289 2001-12-19  Juergen Vigna  <jug@sad.it>
12290
12291         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12292         the paragraphs if the replaced paragraph is not the first one!
12293         Tried to delete not used paragraphs but does not work yet so for
12294         now it's inside #ifdef's and by default off!
12295
12296 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12297
12298         * MenuBackend.C: include "lyx_main.h" instead of declaring
12299         lastfiles (actually was declared as LastFiles* instead of a
12300         scoped_ptr).
12301
12302 2001-12-17  Juergen Vigna  <jug@sad.it>
12303
12304         * tabular.C (AppendColumn): applied John's fix
12305
12306 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12307
12308         * BufferView.h:
12309         * BufferView.C:
12310         * BufferView_pimpl.h:
12311         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12312
12313         * Makefile.am:
12314         * box.h: new start of class for above
12315
12316         * lyxfunc.C: ignore space-only minibuffer dispatches.
12317           Show the command name when it doesn't exist
12318
12319         * minibuffer.C: don't add empty lines to the history
12320
12321         * minibuffer.C: add a space on dropdown completion
12322
12323 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12324
12325         * text.C: fix line above/below drawing in insets
12326
12327 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * lyxlength.C (LyXLength): Initialize private variables.
12330
12331 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12332
12333         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12334         when inserting error insets.
12335
12336 2001-12-13  Juergen Vigna  <jug@sad.it>
12337
12338         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12339         actually sometimes the before-paragraph.
12340         (setUndo): don't clear the redostack if we're not actually undoing!
12341
12342 2001-12-06  Juergen Vigna  <jug@sad.it>
12343
12344         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12345         and fixed redoing of main paragraph, so we can use it now ;)
12346
12347         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12348
12349 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12350
12351         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12352         Juergen's request
12353
12354 2001-12-13  André Pönitz <poenitz@gmx.net>
12355
12356         * undostack.[Ch]:
12357         * undo_func.C: minor cleanup
12358
12359 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12360
12361         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12362         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12363         font in urw-fonts package which is marked as -urw-fontspecific and
12364         does not work (incidentally, changing the encoding in the
12365         fonts.dir of this package to -adobe-fontspecific fixes the
12366         problem).
12367
12368         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12369         is a crash when undoing first paragraph (Juergen, please take a
12370         look). THis does not mean the undo fix is wrong, just that it
12371         uncovers problems.
12372
12373         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12374         the (Paragraph*) version when needed instead of duplicating the
12375         code.
12376
12377         * text.C (workWidth): use Inset::parOwner to find out where the
12378         inset has been inserted. This is a huge performance gain for large
12379         documents with lots of insets. If Inset::parOwner is not set, fall
12380         back on the brute force method
12381
12382         * paragraph_pimpl.C (insertInset):
12383         * paragraph.C (Paragraph):
12384         (cutIntoMinibuffer): set parOwner of insets when
12385         inserting/removing them
12386
12387         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12388
12389 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12390
12391         * commandtags.h:
12392         * LyXAction.C:
12393         * lyx_main.C:
12394         * lyxfunc.C:
12395         * mathed/formulabase.C:
12396         * mathed/math_cursor.[Ch]:
12397         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12398
12399
12400 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12401
12402         * lyxlength.[Ch] (operator!=): new function
12403
12404 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12405
12406         * text.C (workWidth): use Inset::parOwner to find out where the
12407         inset has been inserted. This is a huge performance gain for large
12408         documents with lots of insets. If Inset::parOwner is not set, fall
12409         back on the brute force method
12410
12411         * paragraph_pimpl.C (insertInset):
12412         * paragraph.C (Paragraph):
12413         (cutIntoMinibuffer): set parOwner of insets when
12414         inserting/removing them
12415
12416         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12417
12418 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12419
12420         * tabular-old.C (getTokenValue):
12421         * tabular.C (getTokenValue):
12422         (write_attribute): new versions for LyXLength
12423         (everywhere): adjust the use of widths
12424
12425         * tabular.h: change the type of widths from string to LyXLength
12426
12427 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12428
12429         * paragraph.C: fixed missing line number count when exporting
12430         Environments to LaTeX file
12431
12432         * buffer.C: added informational message for checking line numbers.
12433
12434 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12435
12436         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12437         paragraph, do the 'double space' part, but not the 'empty
12438         paragraph' one.
12439
12440         * text.C (workWidth): small optimization
12441         (getLengthMarkerHeight): use minimal size for negative lengths.
12442
12443 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12444
12445         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12446
12447         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12448
12449 2001-12-11  André Pönitz <poenitz@gmx.net>
12450
12451         * FontLoader.C:
12452         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12453
12454 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * text2.C: keep selection on a setFont()
12457
12458 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12459
12460         * lyx_cb.C: another bv->text misuse, from insert label
12461
12462 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * kbsequence.h:
12465         * kbsequence.C: re-instate nmodifier mask
12466
12467 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12468
12469         * lyx_main.h: make lyxGUI private.
12470
12471 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12472
12473         * lyxfind.C: place the cursor correctly on failed search
12474
12475 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12476
12477         * text.C (getLengthMarkerHeight): for small heights, the arrows
12478         are not always on top/bottom of the text
12479         (drawLengthMarker): smaller arrows; take the left margin in
12480         account; draw also vfills.
12481         (paintFirstRow):
12482         (paintLastRow): remove special code for vfill and standard spaces,
12483         since everything is handled in drawLengthMarker now.
12484
12485 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12486
12487         * buffer.C (insertErtContents): try to handle font and language
12488         interaction a bit better.g
12489
12490         * ColorHandler.C (updateColor): change the hash to cover the whole
12491         LColor enum, ws cleanup
12492         (getGCLinepars): ditto
12493         (getGCLinepars): only lookup in the linecache once.
12494
12495 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12496
12497         * iterators.C (operator++): Make the iterator more robust
12498
12499         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12500         (John's patch)
12501         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12502
12503 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12504
12505         * lyxtext.h:
12506         * text.C: better added space drawing
12507
12508 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12509
12510         * LyXView.C:
12511         * BufferView2.C: fix layout combo update on inset unlock
12512
12513 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12514
12515         * Makefile.am: don't compile unused files
12516
12517 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12518
12519         * lyxfunc.C:
12520         * commandtags.h:
12521         * LyXAction.C: remove old LFUN_LAYOUTNO
12522
12523 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12524
12525         * paragraph_pimpl.h:
12526         * paragraph_pimpl.C: isTextAt() doesn't need font param
12527
12528 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12529
12530         * lyxlex.h:
12531         * lyxlex.C: little cleanup
12532
12533 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12534
12535         * BufferView_pimpl.C: fix insertAscii for insets
12536
12537 2001-12-05  Juergen Vigna  <jug@sad.it>
12538
12539         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12540         set the right font on the "multi" paragraph paste!
12541
12542 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12543
12544         * trans_decl.h:
12545         * trans_mgr.[Ch]:
12546         * trans.[Ch]:
12547         * lyxgluelength.C:
12548         * lyxlength.C: remove out-commented code.
12549
12550         * BufferView_pimpl:
12551         * CutAndPaste.C:
12552         * DepTable.C:
12553         * buffer.C:
12554         * chset.C:
12555         * lastfiles.C:
12556         * lyxlex.C:
12557         * lyxlex_pimpl.C:
12558         * lyxserver.C:
12559         * screen.C:
12560         * tabular-old.C:
12561         * tabular.C:
12562         * text.C:
12563         * trans_mgr.C:
12564         * vc-backend.C: change "while(" to "while ("
12565
12566         * lyxlength.[Ch]: add zero function to check if length is zero or
12567         not
12568         * lyxgluelength.C: use it
12569
12570 2001-12-05  Allan Rae  <rae@lyx.org>
12571
12572         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12573         Works for 2.95.3, from what I understand of Garst's reports this should
12574         work for other g++ versions.  We're screwed if the abs(int) definition
12575         changed between bugfix releases of gcc.
12576
12577 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12578
12579         * text.C: fix chapter label offset !
12580
12581 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12582
12583         * lyxtext.h:
12584         * text.C: fix hfill at end of line, clean up
12585
12586 2001-12-04  Juergen Vigna  <jug@sad.it>
12587
12588         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12589         that we force an update of the inset and it's owners if neccessary.
12590
12591 2001-12-03  Juergen Vigna  <jug@sad.it>
12592
12593         * text.C (rowLast): simplified code
12594
12595 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * lyxfunc.C: fix show options on timeout
12598
12599 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12600
12601         * screen.C (topCursorVisible): scroll half a page when the cursor
12602         reached top of bottom of screen
12603
12604 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12605
12606         * minibuffer.C: deactivate on loss of focus
12607
12608 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * vspace.[Ch] (operator!=): add operator.
12611
12612 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12613
12614         * BufferView_pimpl.C: refuse to open an inset when
12615         there's a selection.
12616
12617 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12618
12619         * BufferView_pimpl.C: allow to click on RHS of full row insets
12620
12621 2001-11-30  Juergen Vigna  <jug@sad.it>
12622
12623         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12624         insets for undo reasons.
12625
12626 2001-11-28  André Pönitz <poenitz@gmx.net>
12627
12628         * vspace.[Ch]: cosmetical changes
12629
12630 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12631
12632         * LyXAction.h:
12633         * LyXAction.C:
12634         * lyxfunc.h:
12635         * lyxfunc.C:
12636         * kbmap.h:
12637         * kbmap.C:
12638         * lyxrc.C:
12639         * kbsequence.h:
12640         * kbsequence.C: part re-write of old kb code
12641
12642         * Painter.C:
12643         * WorkArea.C: remove Lgb_bug_find_hack
12644
12645 2001-11-30  José Matos <jamatos@fep.up.pt>
12646
12647         * buffer.C (makeDocBookFile): add a comment to point a hack.
12648         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12649         Fixed a double write of labels.
12650
12651 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12652
12653         * LaTeX.C:
12654         * LaTeX.h Fixed bug in LaTeX class where it would not
12655         re-run latex if no depfiles were changed, but the .dvi was removed.
12656
12657 2001-11-28  André Pönitz <poenitz@gmx.net>
12658
12659         * all the files from the change on 2001/11/26:
12660         use lyx::layout_type instead of LyXTextClass::size_type
12661         use lyx::textclass_type instead of LyXTextClassList::size_type
12662
12663 2001-11-29  Juergen Vigna  <jug@sad.it>
12664
12665         * text.C: added support for paragraph::isFreeSpacing()
12666
12667         * buffer.C: same as above
12668
12669         * paragraph.h: inserted isFreeSpacing() function to enable
12670         FreeSpacing inside InsetERT.
12671
12672         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12673         of the paragraph's in the cut/copy buffer to 0!
12674
12675         * text2.C (removeRow): remove the assert as it can!
12676
12677         * lyxtext.h: added helper function firstRow returning firstrow and
12678         made firstrow private again.
12679
12680         * BufferView2.C (lockInset): don't relock if we're already locked!
12681
12682         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12683         the only paragraph.
12684         (removeRow): added Assert::(firstrow)
12685
12686         * debug.C: forgot to add INSETTEXT here.
12687
12688 2001-11-28  Juergen Vigna  <jug@sad.it>
12689
12690         * sp_spell.C (initialize): changed error text to more general
12691         spellchecker command use (not only ispell!)
12692
12693         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12694
12695         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12696
12697 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * vspace.C: initialise lyxgluelength on failure
12700
12701 2001-11-28  Allan Rae  <rae@lyx.org>
12702
12703         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12704         declaration & definition that looks like a function declaration.
12705
12706 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12707
12708         * BufferView2.C (copy):
12709         (copyEnvironment): do not clear the selection when doing a copy.
12710
12711         * text.C (paintFirstRow): compilation fix
12712
12713 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12714
12715         * tabular.C (Latex): correct line count when writing latex.
12716
12717 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12718
12719         * paragraph_pimpl.h:
12720         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12721           bug a bit
12722
12723 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12724
12725         * text.C:
12726         * LColor.h:
12727         * LColor.C: change vfillline->added_space
12728
12729         * text.C: add markers and text for added space
12730
12731         * vspace.C: fix comment
12732
12733 2001-11-28  André Pönitz <poenitz@gmx.net>
12734
12735         * paragraph.C: whitespace changes
12736         * all the other files from the change on 2001/11/26:
12737         change *::pos_type into lyx::pos_type
12738
12739 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12740
12741         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12742         language of the document when inserting error insets.
12743
12744 2001-11-26  André Pönitz <poenitz@gmx.net>
12745
12746         * BufferView_pimpl.[Ch]:
12747         *       CutAndPaste.C:
12748         * buffer.[Ch]:
12749         * lyxcursor.[Ch]:
12750         * lyxfind.C:
12751         * lyxfunc.C:
12752         * lyxrow.[Ch]:
12753         * paragraph.[Ch]:
12754         * paragraph_pimpl.[Ch]:
12755         * sp_spell.C:
12756         * text.C:
12757         * text2.C: reduce header dependencies, introduce type for positions
12758
12759 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12760
12761         * <various>: change to use Alert.h
12762
12763 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12764
12765         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12766         when encountering an unknown token.
12767         (readLyXformat2): Show an error message if there were unknown tokens.
12768
12769 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12770
12771         * BufferView2.C:
12772         * BufferView_pimpl.C:
12773         * buffer.C:
12774         * paragraph.h:
12775         * text.C:
12776         * text2.C: use par->isInset()
12777
12778 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12779
12780         * paragraph_pimpl.h:
12781         * paragraph_pimpl.C: cleanup
12782
12783 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12784
12785         * text2.C (removeRow):
12786         * text.C (setHeightOfRow): remove useless (and costly) call to
12787         getRow.
12788
12789 2001-11-20  Allan Rae  <rae@lyx.org>
12790
12791         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12792         Now need Inset*::checkInsertChar() to return true for appropriate
12793         cases so that the characters in the minibuffer will actually be
12794         inserted.
12795
12796 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12797
12798         * text.C: change the order of the includes.
12799         (workWidth): initialize it at once.
12800         (workWidth): make maxw unsigned
12801         (setHeightOfRow): remove unused variable (inset)
12802         (selectSelectedWord): remove unused variable (inset)
12803         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12804
12805 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12806
12807         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12808         server is not running.
12809         (openConnection):
12810         (closeConnection): add debug info when server is disabled.
12811
12812         * ColorHandler.C (getGCForeground): send debug message to GUI
12813         channel.
12814
12815         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12816
12817         * kbmap.C (bind): modify because return conventions of
12818         kb_sequence::parse have changed.
12819
12820         * kbsequence.C (parse): only ignore spaces and not any stupid
12821         control character. This avoids tests like s[i] <= ' ', which are
12822         guaranteed to fail with 8bit characters and signed chars.
12823         Change return code to string::npos when there have been no error
12824         (0 was a bad idea when error is at first character)
12825
12826 2001-11-14  José Matos  <jamatos@fep.up.pt>
12827
12828         * buffer.h:
12829         * buffer.C (simpleDocBookOnePar): removed unused argument.
12830
12831 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12832
12833         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12834         insets which are part of a word. Paragraph::isLetter takes care of
12835         that now. Use Paragraph::isInset to identify insets.
12836         (selectSelectedWord): do not test for hyphenation break.
12837
12838         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12839         that protected spaces are considered as spaces.
12840
12841         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12842         Inset::isLetter.
12843
12844 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12845
12846         * lyxserver.h:
12847         * lyxserver.C: fix it. and small cleanup.
12848
12849 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12850
12851         * BufferView_pimpl.C: use inline helpers
12852
12853         * LaTeXFeatures.h:
12854         * LaTeXFeatures.C: fix typos
12855
12856         * Spacing.h:
12857         * Spacing.C: move spacing_string into class
12858
12859         * ToolbarDefaults.C: move stuff into namespace anon
12860
12861         * layout.h: update enum
12862
12863         * lyxfunc.C: use better debug
12864
12865         * minibuffer.h: fix typo
12866
12867         * debug.h:
12868         * debug.C:
12869         * WorkArea.C: add and use Debug::WORKAREA
12870
12871         * lyxtext.h:
12872         * text.C:
12873         * text2.C: code re-organisation, inline helpers
12874
12875 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12876
12877         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12878         std::vector.empty().
12879
12880 2001-11-09  Allan Rae  <rae@lyx.org>
12881
12882         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12883         '\n's after tables.  Tabular and ERT inset work now makes this no
12884         longer necessary.
12885
12886 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12887
12888         * minibuffer.h:
12889         * minibuffer.C: fix crash, improve drop-down completion
12890
12891 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12892
12893         * lyxserver.h:
12894         * lyxserver.C: invalidate fd's when doing endPipe()
12895
12896 2001-11-08  José Matos  <jamatos@fep.up.pt>
12897
12898         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12899         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12900
12901         * paragraph.h:
12902         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12903
12904 2001-11-07  José Matos  <jamatos@fep.up.pt>
12905
12906         * buffer.h:
12907         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12908         const qualifier.
12909
12910         * buffer.C (sgmlOpenTag):
12911         * buffer.C (sgmlCloseTag): removed debug info.
12912
12913         * buffer.h (sgmlOpenTag):
12914         * buffer.h (sgmlCloseTag): made public.
12915
12916 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12917
12918         * buffer.C (saveParamsAsDefaults):
12919         * lyx_cb.C (MenuLayoutSave): remove
12920
12921         * LyXAction.C (init):
12922         * commandtags.h:
12923         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12924
12925 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12926
12927         * buffer.C (setPaperStuff): removed from here...
12928
12929         * bufferparams.C (setPaperStuff): ... and moved there.
12930
12931 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12932
12933         * minibuffer.h:
12934         * minibuffer.C:
12935         * XFormsView.C: add support for drop-down completion
12936
12937 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12938
12939         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12940         commands.
12941
12942 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12943
12944         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12945         disabled.
12946
12947 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12948
12949         * lyx_main.C: change ref to known bugs
12950
12951 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12952
12953         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12954         to work around older babel problems.
12955
12956 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12957
12958         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12959
12960 2001-10-24  Juergen Vigna  <jug@sad.it>
12961
12962         * tabular-old.C (ReadOld): below variable changes reflected.
12963
12964         * tabular.[Ch]: added ltType struct for longtable header/footer
12965         defines and changed all instances where they are used. Added
12966         future support for double top/bottom rows.
12967
12968 2001-10-24  José Matos  <jamatos@fep.up.pt>
12969
12970         * buffer.h (docbookHandleCaption):
12971         * buffer.C (docbookHandleCaption): removed unused function.
12972         (makeDocBookFile): moved docbook supported version to v4.1.
12973
12974 2001-10-24  José Matos  <jamatos@fep.up.pt>
12975
12976         * tabular.h:
12977         * tabular.C (docbookRow): new function to export docbook code of a row.
12978         (DocBook): now honors the longtable flags.
12979
12980 2001-10-23  José Matos  <jamatos@fep.up.pt>
12981
12982         * LaTeXFeatures.h:
12983         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12984         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12985
12986         * buffer.C (makeLinuxDocFile):
12987         (makeDocBookFile): reworked the preamble, more clean, and with
12988         support for lyx defined entities. Changed the document declaration
12989         to be more XML friendly.
12990
12991         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12992         if we need to output XML that should be done with a filter.
12993
12994 2001-10-22  Juergen Vigna  <jug@sad.it>
12995
12996         * sp_pspell.h (class PSpell): add alive function needed in the
12997         controller to see if the spellchecker could be started.
12998
12999 2001-10-22  Juergen Vigna  <jug@sad.it>
13000
13001         * buffer.C (insertStringAsLines): modify the font for inserting
13002         chars in certain conditions by calling checkInsertChar(font).
13003
13004 2001-10-19  Juergen Vigna  <jug@sad.it>
13005
13006         * text.C (workWidth): use getRow instead of wrong algorithm.
13007         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13008
13009 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13010
13011         * lyxserver.h:
13012         * lyxserver.C:
13013         * lyx_main.h:
13014         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13015
13016 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13017
13018         * text.C (workWidth): do not search for the exact row when
13019         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13020         optimization for big documents.
13021
13022 2001-10-18  Juergen Vigna  <jug@sad.it>
13023
13024         * text.C (workWidth): new function with added Inset * parameter.
13025
13026 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13027
13028         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13029
13030         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13031         change return type of getColumnNearX.
13032
13033
13034         * text.C (changeRegionCase): use uppercase/lowercase instead of
13035         toupper/tolower.
13036         (leftMargin):
13037         (rightMargin): simplify code by factoring out the uses of
13038         textclasslist.
13039         (labelFill):
13040         (numberOfHfills):
13041         (setHeightOfRow):
13042         (appendParagraph): use Paragraph::size_type
13043
13044 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13045
13046         * vspace.C (asLatexString): add a missing break
13047
13048 2001-10-15  Herbert Voss  <voss@perce.de>
13049
13050         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13051
13052 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13053
13054         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13055         is not available.
13056
13057 2001-10-10  André Pönitz <poenitz@gmx.net>
13058
13059         * lyxfunc.C: removed greek_kb_flag.
13060
13061 2001-10-10  Herbert Voss  <voss@perce.de>
13062
13063         * lyx_main.C: delete global string help_lyxdir.
13064
13065 2001-10-09  Herbert Voss  <voss@perce.de>
13066
13067         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13068
13069         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13070
13071         * lyx_main.C: added global string help_lyxdir.
13072
13073         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13074
13075 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13076
13077         * lyxrc.C (set_font_norm_type): support iso8859-4
13078
13079 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13080
13081         * LaTeX.C (deplog): add another regex for MikTeX
13082
13083 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13084
13085         * lyxrc.C (set_font_norm_type): support iso8859-3
13086
13087 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13088
13089         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13090
13091         * LaTeXFeatures.C: remove special case of french and index
13092
13093         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13094         before \begin{document}). This solves several incompatibilities.
13095
13096 2001-10-03  Garst Reese  <reese@isn.net>
13097
13098         * lyx_cb.C: change CheckTex error msg.
13099
13100 2001-10-03  José Matos  <jamatos@fep.up.pt>
13101
13102         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13103
13104 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13105
13106         * .cvsignore: update
13107
13108         * lyx_main.C (commandLineVersionInfo): use new style version info.
13109
13110         * buffer.C (writeFile):
13111         (makeLaTeXFile):
13112         (makeLinuxDocFile):
13113         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13114
13115         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13116
13117         * version.h: update to use stuff in version.C
13118
13119         * version.C.in: new file. Contains version information determined
13120         at compile time. This is a merging of version.h and
13121         version_info.h.in.
13122
13123 2001-10-03  Juergen Vigna  <jug@sad.it>
13124
13125         * BufferView_pimpl.C (update): don't change "dirty" status in
13126         updateInset call.
13127
13128 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13129
13130         * WorkArea.C (c-tor): re-position version string slightly.
13131
13132 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13133
13134         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13135         revert to previous code.
13136
13137         WorkArea.[Ch]: (show, destroySplash): methods removed.
13138
13139         WorkArea.C: rework code so that it's an amalgam of the codes before and
13140         after the splash screen was moved to WorkArea.
13141
13142 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13143
13144         * lyxrc.C (read):
13145         * vspace.C (inPixels):
13146         (lyx_advance):
13147         * kbmap.C (bind):
13148         * buffer.C (insertStringAsLines):
13149         (asciiParagraph): fix types to be large enough
13150
13151         * lyxlex_pimpl.h: change member status from short to int
13152
13153         * layout.h: fix type of endlabeltype
13154
13155         * kbmap.C (bind):
13156         * kbsequence.C (parse): change return type to string::size_type
13157
13158         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13159         variable
13160
13161         * Bullet.C (bulletSize):
13162         (bulletEntry): do not use short ints as parameters
13163
13164         * BufferView2.C (insertLyXFile): change a char to an int.
13165
13166         * WorkArea.C (WorkArea): remove unneeded floats in computation
13167
13168 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13169
13170         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13171
13172         * paragraph.C (asString): Do not ignore newline/hfill chars when
13173         copying to the clipboard.
13174
13175 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13176
13177         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13178         after a multi-line inset.
13179
13180 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13181
13182         * paragraph.C (validate): Set NeedLyXFootnoteCode
13183
13184 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13185
13186         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13187         and decrease-error to decrease.
13188
13189 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13190
13191         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13192         it more readable (should be equivalent)
13193
13194 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13195
13196         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13197
13198 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13199
13200         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13201         of a cursor (row, etc.) after a character has been deleted
13202         (deleteEmptyParagraphMechanism): call the method above on _all_
13203         cursors held by the LyXText when a double space has been
13204         detected/deleted.
13205
13206 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13207
13208         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13209         pixmap.
13210         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13211
13212         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13213         background. Use greyOut() and the new show() methods to toggle between
13214         the foreground and background. Add code to remove the splash after
13215         its initial showing.
13216
13217         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13218         (create_forms): no longer call Dialogs::showSplash.
13219
13220 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13221
13222         * .cvsignore: add version_info.h
13223
13224 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13225
13226         * version_info.h.in: new file
13227
13228         * Makefile.am: add version_info.h.in
13229
13230         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13231         version_info.h instead of VERSION_INFO
13232
13233 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13234
13235         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13236         The ERT inset now returns string().
13237
13238 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13239
13240         * lyxtext.h, text.C (selectNextWord): renamed as
13241         selectNextWordToSpellcheck.
13242
13243         * text.C (selectNextWordToSpellcheck): Modified to not select
13244         words inside an ERT inset.
13245
13246 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13247
13248         * lyx_cb.C (MenuLayoutSave): change a bit the question
13249
13250         * sp_base.h: include <sys/types.h>
13251
13252 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13253
13254         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13255
13256 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13257
13258         * several files: fix typos in user-visible strings
13259
13260 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13261
13262         * text2.C (pasteSelection): do not set the selection, since it
13263         will be cleared later. Actually, the intent was to fix the way the
13264         selection was set, but I figured rmoving the code was just as good.
13265
13266 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13267
13268         * FontLoader.C (available): Check if font is available without
13269         loading the font.
13270
13271 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13272
13273         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13274
13275 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13276
13277         * lyxrc.[Ch]: added display_graphics variable and associated code.
13278
13279 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13280
13281         * bufferparams.C (hasClassDefaults): new method. Returns true if
13282         the buffer parameters correspond to known class defaults
13283
13284 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13285
13286         * XFormsView.C (show): set minimum size to the main window.
13287
13288 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13289
13290         * text2.C (copySelection):
13291         (cutSelection):
13292         * lyxfind.C (LyXReplace):
13293         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13294         LyXText::selectionAsString.
13295
13296         * paragraph.C (asString): add "label" argument to the second form
13297
13298         * text2.C (selectionAsString): add "label" argument and pass it to
13299         Paragraph::asString.
13300
13301 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13302
13303         * lyx_main.C (commandLineHelp): remove version information
13304
13305 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13306
13307         * lyx_main.C: add -version commandline option
13308
13309 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13310
13311         * paragraph.h: make the optional constructor arg required instead.
13312         some modifications to other files because of this.
13313
13314         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13315
13316         * lyxserver.C (C_LyXComm_callback): make it static
13317
13318         * lyx_main.C (error_handler): make it static
13319
13320         * lyx_gui.C (LyX_XErrHandler): make it static
13321
13322         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13323
13324         * WorkArea.C: make the extern "C" methods static.
13325
13326         * Makefile.am (lyx_LDADD): simplify
13327
13328 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13329
13330         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13331         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13332
13333         * LyXAction.C (init):
13334         * lyxfunc.C (dispatch): associated code removal.
13335
13336 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13337
13338         * lyxfont.h (isSymbolFont): shut off warning
13339
13340         * text.C (setHeightOfRow):
13341         (getVisibleRow): fix crash with empty paragraphs which have a
13342         bottom line
13343
13344 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13345
13346         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13347         code.
13348
13349 2001-09-04  José Matos  <jamatos@fep.up.pt>
13350         * buffer.C
13351         * buffer.h
13352         * tabular.C (docbook): rename docBook method to docbook.
13353
13354 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13355
13356         * Makefile.am: add dependencies to main.o.
13357
13358 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13359
13360         * FontLoader.C (available): Return false if !lyxrc.use_gui
13361
13362 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13363
13364         * FontInfo.C (query):
13365         * converter.C (view):
13366         * importer.C (Import):
13367         * exporter.C (Export): Can not -> cannot.
13368
13369 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13370
13371         * BufferView_pimpl.C: allow to create index inset even if
13372           string is empty
13373
13374 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13375
13376         * buffer.C (getLists): replace boost::tie code with an explicit pair
13377         as boost::tie can break some compilers.
13378
13379         * iterators.h: Added a std:: declaration to the return type of
13380         ParIterator::size.
13381
13382 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13383
13384         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13385           case.
13386
13387 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13388
13389         * iterators.[Ch]: New files. Provide paragraph iterators.
13390
13391         * buffer.C (changeLanguage): Use paragraph iterators.
13392         (isMultiLingual): ditto
13393
13394         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13395
13396 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13397
13398         * FontLoader.C: Support for cmr font.
13399
13400 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13401
13402         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13403         (available): New method.
13404
13405         * FontInfo.C (getFontname): Use scalable fonts even when
13406         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13407         found.
13408
13409 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13410
13411         * converter.C (Formats::view): reverted! Incorrect fix.
13412
13413 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13414
13415         * converter.C (Formats::view): only output the -paper option
13416         if the dvi viewer is xdvi, thereby fixing bug #233429.
13417
13418 2001-08-23  Herbert Voss  <voss@perce>
13419
13420         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13421
13422 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13423
13424         * Spacing.h (Spacing): Set space to Default on in the default
13425         constructor.
13426
13427 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13428
13429         * vc-backend.h (RCS::versionString): add RCS to version
13430         (CVS::versionString): add CVS to version
13431
13432         * vc-backend.C (scanMaster): do not add CVS to version.
13433         (scanMaster): do not add RCS to version
13434
13435         * lyxvc.C (versionString): new method
13436
13437         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13438
13439 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13440
13441         * Spacing.C (set): initialize fval
13442
13443 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13444
13445         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13446         " or \.
13447
13448 2001-08-16  Juergen Vigna  <jug@sad.it>
13449
13450         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13451
13452 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13453
13454         * BufferView_pimpl.C:
13455         * figureForm.C:
13456         * lyxtext.h:
13457         * text2.C: setParagraph takes linespacing now
13458
13459 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13460
13461         * LyxAction.C: add internal LFUN_CITATION_INSERT
13462
13463         * LyXView.C: actually apply fix
13464
13465         * bufferlist.C: fix open non-existent file
13466
13467         * lyxfind.C: fix indentation
13468
13469         * lyxfunc.C: remove unneeded assert, fix typo
13470
13471 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13472
13473         * MenuBackend.C: use "Floatname List"
13474
13475 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13476
13477         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13478         when converting LaTeX layout to insetERT.
13479         Generate a non-collapsed float when reading old float
13480
13481 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13482
13483         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13484         ERT insets.
13485
13486 2001-08-13  Juergen Vigna  <jug@sad.it>
13487
13488         * text.C (fill): return 0 instead of 20 as this seems to be the more
13489         correct value.
13490
13491 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13492
13493         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13494         lyxrc.font_norm.
13495
13496 2001-08-13  Juergen Vigna  <jug@sad.it>
13497
13498         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13499         casesensitive off.
13500         (SearchBackward): comment out the unlocking of the inset_owner this
13501         should not be needed!
13502
13503 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13504
13505         * Many files: Remove inherit_language, and add latex_language
13506
13507         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13508         collapsible insets.
13509
13510 2001-08-10  Juergen Vigna  <jug@sad.it>
13511
13512         * text.C (prepareToPrint): fixed hfill-width in draw!
13513
13514         * BufferView2.C (selectLastWord): save the selection cursor as this
13515         now is cleared in the function LyXText::clearSelection!
13516
13517 2001-08-08  Juergen Vigna  <jug@sad.it>
13518
13519         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13520         BACKSPACE type functions.
13521
13522         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13523         is only cutted from the document but not put in the cut-buffer, where
13524         still the old stuff should be.
13525
13526         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13527
13528         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13529
13530         * tabular.C (SetWidthOfCell): fixed special case where the width
13531         was not updated!
13532         (LeftLine): handle '|' in align_special.
13533         (RightLine): ditto
13534         (LeftAlreadyDrawed): ditto
13535         (SetWidthOfCell): ditto
13536
13537 2001-08-07  Juergen Vigna  <jug@sad.it>
13538
13539         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13540
13541 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13542
13543         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13544         * lyxlex.[hC]: ditto
13545
13546 2001-08-06  Juergen Vigna  <jug@sad.it>
13547
13548         * text.C (getVisibleRow): fix up row clearing a bit.
13549
13550 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13551
13552         * minibuffer.C: make sure the X server sees the changes in the input.
13553
13554 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13555
13556         * paragraph.C (getFont): split into...
13557         (getLabelFont): this
13558         (getLayoutFont): and this
13559         * paragraph_pimpl.C (realizeFont): calling this
13560
13561         * text2.C (getFont): split into...
13562         (getLayoutFont): this
13563         (getLabelFont): and this
13564         (realizeFont): all three calling this
13565
13566         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13567         files where used.
13568
13569 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13570
13571         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13572
13573 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13574
13575         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13576         layouts from the Quote inset insertion.
13577
13578 2001-08-03  Juergen Vigna  <jug@sad.it>
13579
13580         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13581
13582         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13583         only if status not is already CHANGED_IN_DRAW (second level).
13584
13585         * text.C (draw): don't set the need_break_row when inside an
13586         InsetText LyXText.
13587
13588 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13589
13590         * buffer.C (parseSingleLyXformat2Token): handle more latex
13591         conversion cases.
13592
13593         * bufferview_funcs.[hC]: change function names to
13594         begin with small char, adjust other files.
13595
13596 2001-08-02  André Pönitz <poenitz@gmx.net>
13597
13598         * lyxfunc.C:
13599         BufferView_pimpl.C: remove broken special code for math-greek
13600
13601 2001-08-02  Juergen Vigna  <jug@sad.it>
13602
13603         * BufferView_pimpl.C (update): redone this function so that we
13604         update the text again if there was a CHANGE_IN_DRAW.
13605
13606         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13607         (drawFromTo): added a new internal bool which is used by draw() and
13608         redraw() function.
13609         (general): some cursor drawing problems fixed.
13610
13611 2001-08-01  Juergen Vigna  <jug@sad.it>
13612
13613         * lyxfind.C (LyXFind): fixed
13614         (SearchForward): ditto
13615         (SearchBackward): ditto
13616
13617         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13618         spurius drawing of the cursor in the main area.
13619
13620         * text2.C (status): small fix which could lead to a segfault!
13621         (clearSelection): remove unneeded BufferView param.
13622
13623 2001-08-01  André Pönitz <poenitz@gmx.net>
13624
13625         * lyxfunc.C: small change due to changed mathed interface
13626
13627 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13628
13629         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13630
13631 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13632
13633         * lyxfunc.c: fail gracefully if file doesn't exist
13634
13635         * LyXSendto.C:
13636         * buffer.C:
13637         * lyxfunc.C:
13638         * BufferView_pimpl.C: IsDirWriteable() proto changed
13639
13640         * LyXView.C: fix updateWindowTitle() to store the last title
13641
13642 2001-07-31  Juergen Vigna  <jug@sad.it>
13643
13644         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13645         the font (wrong since using of Paragraph::highestFontInRange).
13646
13647         * paragraph.C (highestFontInRange): added a default_size parameter.
13648
13649         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13650         (setHeightOfRow): reformat
13651
13652 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13653
13654         * converter.[hC] + affected files: move to (inital-char)lowercase
13655         function names.
13656
13657         * ParagraphParameters.C (ParagraphParameters): remove commented code
13658
13659         * PainterBase.[Ch]: remove commented code
13660
13661         * LaTeXFeatures.h: add "bool floats" for float.sty
13662
13663         * LaTeXFeatures.C (LaTeXFeatures): init floats
13664         (require): handle float
13665         (getPackages): do it with floats
13666
13667 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13668
13669         * BufferView_pimpl.C (Dispatch): improve handling of
13670         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13671
13672         * commandtags.h: #include lyxfont.h here temporarily to avoid
13673         keybinding bug.
13674
13675         * bufferlist.h: include LString.h here.
13676
13677 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13678
13679         * text2.C (getStringToIndex): new method.
13680
13681 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13682
13683         * *: Reduced header file dependencies all over.
13684
13685 2001-07-30  Baruch Even  <baruch@lyx.org>
13686
13687         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13688
13689 2001-07-29  Baruch Even  <baruch@lyx.org>
13690
13691         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13692
13693 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13694
13695         * ParameterStruct.h (endif): add a default constructor to make
13696         sure that all variables is initialized.
13697
13698         * ParagraphParameters.C (ParagraphParameters): adjust
13699
13700 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13701
13702         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13703         index; also, check that there is something to index, and that it
13704         does not span over several paragraphs.
13705         (doubleClick): use WHOLE_WORD_STRICT for double click.
13706
13707         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13708
13709         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13710         scheme.
13711
13712 2001-07-26  Baruch Even  <baruch@lyx.org>
13713
13714         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13715         an InsetFig figure, backwards compatible reading of old figure code.
13716
13717 2001-07-27  Juergen Vigna  <jug@sad.it>
13718
13719         * text2.C: font.realize function adaption.
13720
13721         * text.C (draw): add a warnings lyxerr text if needed.
13722
13723         * layout.C: font.realize function adaption.
13724
13725         * language.C: add inherit_language and implement it's handlings
13726
13727         * bufferview_funcs.C (StyleReset): remove language parameter from
13728         font creation (should be language_inherit now).
13729
13730         * bufferparams.C (writeFile): handle ignore_language.
13731
13732         * paragraph.C (getFontSettings): the language has to be resolved
13733         otherwise we have problems in LyXFont!
13734
13735         * lyxfont.C (lyxWriteChanges): added document_language parameter
13736         (update): removed unneeded language parameter
13737
13738         * paragraph.C (validate): fixed wrong output of color-package when
13739         using interface colors for certain fonts in certain environments,
13740         which should not seen as that on the final output.
13741
13742 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13743
13744         * BufferView_pimpl.C:
13745         * Thesaurus.h:
13746         * Thesaurus.C:
13747         * Makefile.am:
13748         * commandtags.h:
13749         * LyXAction.C: add thesaurus support
13750
13751         * lyxfind.h:
13752         * lyxfind.C: add "once" parameter, for thesaurus, to not
13753           move to the next match
13754
13755 2001-07-26  Juergen Vigna  <jug@sad.it>
13756
13757         * lyxfont.C (realize): honor ignore_language too!
13758         (resolved): ditto.
13759
13760         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13761
13762         * text.C (draw): one place more for ignore_language to not draw
13763         itself!
13764
13765 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13766
13767         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13768
13769 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13770
13771         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13772         the minipage conversion problem.
13773
13774 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13775
13776         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13777         insert an inset.
13778
13779 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13780
13781         * BufferView.h: don't forward declare WorkArea
13782
13783         * BufferView.C: don't include WorkArea.h
13784
13785 2001-07-25  André Pönitz <poenitz@gmx.net>
13786
13787         * commandtags.h:
13788         * LyXAction.C:
13789         * lyxfunc.C:  new LFUN 'math-space'
13790
13791         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13792
13793 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13794
13795         * text2.C (toggleInset): call open/close
13796
13797 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13798
13799         * lyxfunc.C (dispatch): add debug for the disabled case
13800
13801         * font.C (buttonText): make similar to rectText
13802
13803         * buffer.C (readInset): comment out parsing of insetlist and
13804         insttheorem
13805
13806         * PainterBase.C (rectText): small correction
13807
13808         * BufferView_pimpl.C: comment out insettheorem and insetlist
13809         * LyXAction.C: ditto
13810         * commandtags.h: ditto
13811
13812 2001-07-24  Juergen Vigna  <jug@sad.it>
13813
13814         * text.C (draw): honor the ignore_language.
13815
13816         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13817
13818 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13819
13820         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13821         char inset.
13822
13823 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13824
13825         * lyxtext.h: remove unused (and unimplemented) methods
13826
13827 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13828
13829         * text.C (getVisibleRow): honor background color
13830
13831         * PainterBase.h:
13832         * Painter.h: remove default color argument for fillRectangle
13833
13834         * text.C (backgroundColor): new method
13835
13836 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * text.C (getVisibleRow): adjust
13839
13840         * font.[Ch] (rectText): new method, metrics
13841         (buttonText): new method, metrics
13842
13843         * PainterBase.[hC]: make rectText and buttonText always draw and take
13844         fewer paramteres.
13845
13846 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13847
13848         * ToolbarDefaults.C (read):
13849         * MenuBackend.C (read): allow escaping in all strings
13850
13851         * BufferView_pimpl.C (insertAndEditInset): new method.
13852         (Dispatch): use insertAndEditInset whenever appropriate.
13853
13854         * BufferView_pimpl.C (insertNote): removed
13855
13856         * BufferView_pimpl.C (smartQuote): new method, moved from
13857         BufferView; if an insetquote cannot be inserted, insert a '"'
13858         character instead.
13859
13860         * BufferView2.C: remove insertCorrectQuote();
13861
13862         * lyxfunc.C (getStatus): Add support for all remaingin
13863         inset-insert lfuns.
13864
13865         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13866
13867         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13868         command (necessary to pass " as parameter of self-insert.
13869
13870         * text.C (selectWordWhenUnderCursor):
13871         (selectWord): add word_location parameter
13872         (selectWordWhenUnderCursor): same + remove special code for word
13873         boundary.
13874         (selectNextWord): use kind() to guess type of insetspecialchar,
13875         not latex().
13876
13877         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13878         (insertErtContents): create ert insets as collapsed.
13879         (readInset): better compatibility code for Info inset.
13880
13881 2001-07-20  Juergen Vigna  <jug@sad.it>
13882
13883         * lyxfunc.C (dispatch): use always LyXFind now!
13884
13885         * text2.C (init): add a reinit flag so that the LyXText can be
13886         reinited instead of deleted and reallocated (used in InsetText).
13887
13888         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13889
13890         * text.C: ditto
13891
13892         * text2.C: ditto
13893
13894 2001-07-18  Juergen Vigna  <jug@sad.it>
13895
13896         * text.C (selectNextWord): handle insets inside inset by calling
13897         always the bv->text functions so that we can go up the_locking_inset!
13898
13899         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13900         in strange locations when inside an inset!
13901
13902         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13903         handling to include insets.
13904
13905         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13906
13907 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13908
13909         * LyXAction.C (init):
13910         * commandtags.h:
13911         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13912         LIGATURE_BREAK, since the name is so stupid.
13913
13914 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13915
13916         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13917         InsetInfos.
13918
13919         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13920
13921         * sp_form.[Ch]: remove.
13922
13923         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13924
13925         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13926         InsetInfo.
13927
13928         * src/buffer.C (readInset): ditto.
13929
13930 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13931
13932         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13933         menuSeparator(), endOfSentenceDot(), ldots() and
13934         hyphenationPoint(), which are therefore removed.
13935         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13936
13937         * LyXAction.C (init):
13938         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13939
13940         * paragraph.C (getWord): removed.
13941
13942         * BufferView_pimpl.C (Dispatch): use last word or selection for
13943         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13944
13945         * lyx_main.C (queryUserLyXDir): do not ask before creating
13946         user_dir, except if it has been named explicitely.
13947
13948 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13949
13950         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13951         a document of zero size.
13952
13953 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13954
13955         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13956         approriately in the c-tor and in require().
13957         (getPackages): output the appropriate LaTeX for natbib support.
13958
13959         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13960         variables "use_natbib" and "use_numerical_citations" when reading the
13961         LyX file.
13962         (readInset): read the various natbib cite commands.
13963         (validate): white-space change.
13964
13965         * bufferparams.[Ch]: new variables "bool use_natbib" and
13966         "bool use_numerical_citations".
13967         (writeFile): output them in the LyX file.
13968
13969 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13970
13971         * lyxfunc.C (getStatus): add support for all the inset insertion
13972         commands.
13973
13974         * text2.C (insertInset):
13975         * paragraph.C (insetAllowed):
13976         * BufferView_pimpl.C (insertInset): update to take in account the
13977         renaming of insertInsetAllowed
13978
13979         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13980
13981         * text2.C (getInset): new method. returns inset at cursor position.
13982
13983         * BufferView_pimpl.C (Dispatch): changes because of this.
13984
13985         * LyXAction.C (init): rename open-stuff to inset-toggle.
13986
13987         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13988
13989         * text2.C (toggleInset): renamed from openStuff; use
13990         Inset::open().
13991
13992 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13993
13994         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13995
13996         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13997
13998 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13999
14000         * buffer.C (readLyXformat2): Add filename to the error dialog
14001
14002 2001-07-18  Juergen Vigna  <jug@sad.it>
14003
14004         * tabular.C (GetCellNumber): put an assert here instead of the check!
14005
14006 2001-07-17  Juergen Vigna  <jug@sad.it>
14007
14008         * BufferView_pimpl.C (toggleSelection): adapted too.
14009
14010         * text.C (selectNextWord): adapted for use with insets.
14011         (selectSelectedWord): ditto
14012
14013 2001-07-17  Juergen Vigna  <jug@sad.it>
14014
14015         * sp_spell.C (PSpell): fix initialitation order.
14016
14017 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14018
14019         * paragraph.C: spacing
14020
14021 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14022
14023         * sp_spell.C: repair language selection for pspell
14024
14025 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14026
14027         * lyxfunc.h: change more methods to begin with lower char.
14028
14029 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14030
14031         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14032         for unknown layouts.
14033
14034 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14035
14036         * buffer.C (readLyXformat2): Generate an error dialog if there are
14037         unknown layouts.
14038
14039 2001-07-16  Juergen Vigna  <jug@sad.it>
14040
14041         * sp_spell.C: always compile ISpell part.
14042
14043         * lyxrc.C: added use_pspell entry and it's handling.
14044
14045 2001-07-13  Juergen Vigna  <jug@sad.it>
14046
14047         * sp_spell.C: removed double includes.
14048
14049 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14050
14051         Consistent use of Lsstream.h:
14052         * Lsstream.h: added using std::stringstream for consistencies sake.
14053
14054         * buffer.C: removed using std::stringstream
14055
14056         * lyxfont.C (stateText):
14057         * paragraph.C (asString):
14058         * text.C (selectNextWord, selectSelectedWord):
14059         * text2.C (setCounter):
14060         * vspace.C (asString, asLatexString):
14061         std::ostringstream -> ostringstream.
14062
14063 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14064
14065         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14066         * commandtags.h: add LFUN_HELP_ABOUTLYX
14067         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14068
14069 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14070
14071         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14072         cursorToggle()
14073         * lyx_gui_misc.C: remove spellchecker
14074         * lyxfunc.C: showSpellchecker
14075         * sp_base.h: added
14076         * sp_ispell.h: added
14077         * sp_pspell.h: added
14078         * sp_spell.C: added
14079         * sp_form.[Ch]: removed
14080         * spellchecker.[Ch]: removed
14081
14082 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14083
14084         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14085         is set.
14086         (simpleTeXSpecialChars): Simply print the input character without
14087         any special translation if pass_thru is set.
14088
14089         * layout.h: Added bool pass_thru to layout class for being able to
14090         implement pass through of a paragraph for Literate Programming.
14091
14092         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14093         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14094         * layout.C (Read): add "passthru" to list of layout tags and add
14095         code to set the pass_thru boolean when it is read.
14096
14097 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14098
14099         * trans_decl.h: remove allowed from KmodInfo
14100
14101         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14102         remove allowed code
14103         (Load): adjust
14104
14105         * paragraph_pimpl.C (erase): use boost::prior
14106
14107         * Painter.C (text): use data() instead of c_str() when length is
14108         also provided.
14109         * WorkArea.C (putClipboard): ditto
14110         * font.h (width): ditto
14111
14112         * BufferView2.C: use it-> instead of (*it). for iterators
14113         * texrow.C: ditto
14114         * paragraph_pimpl.C: ditto
14115         * paragraph.C: ditto
14116         * minibuffer.C: ditto
14117         * language.C: ditto
14118         * kbmap.C: ditto
14119         * encoding.C: ditto
14120         * counters.C: ditto
14121         * converter.C: ditto
14122         * chset.C: ditto
14123         * Variables.C: ditto
14124         * TextCache.C: ditto
14125         * MenuBackend.C: ditto
14126         * LyXAction.C: ditto
14127         * LColor.C: ditto
14128         * FloatList.C: ditto
14129         * DepTable.C: ditto
14130         * ColorHandler.C (LyXColorHandler): ditto
14131
14132 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14133
14134         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14135
14136         * text2.C (openStuff): reintroduce this method (which had been
14137         nuked in NEW_INSETS frenzy).
14138
14139         * lyxfunc.C (Dispatch): when an action has not been handled, use
14140         its name in the error message, not its number.
14141
14142         * paragraph.C (inInset): change method name to begin with lowercase.
14143
14144         * undo_funcs.C:
14145         * text2.C: updates because of this.
14146
14147 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * ToolbarDefaults.C (add): add spaces in error message
14150
14151 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14152
14153         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14154         (readLyXformat2): rename return_par to first_par, use lyxlex's
14155         pushToken and remove the manual push handling.
14156         (parseSingleLyXformat2Token): add another ert comp. variable:
14157         in_tabular, rename return_par to first_par. handle newlines better
14158
14159 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14162
14163 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14164
14165         * text2.C (getParFromID): removed
14166
14167         * buffer.C (getParFromID): new method moved form lyxtext.
14168         * BufferView2.C (insertErrors): adjust
14169         (setCursorFromRow): adjust
14170         * BufferView_pimpl.C (restorePosition): adjust
14171         * lyxfunc.C (Dispatch): adjust
14172         * undo_funcs.C (textUndo): adjust
14173         (textRedo): adjust
14174         (textHandleUndo): adjust
14175         (textHandleUndo): adjust
14176
14177 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14178
14179         * buffer.C: up' the LYX_FORMAT
14180
14181         * lyxfont.h: turn NO_LATEX on as default
14182
14183         * buffer.C (insertErtContents): new methods of tex style compability.
14184         (parseSingleLyXformat2Token): use it several places.
14185         * tabular.C (OldFormatRead): and here
14186
14187 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14188
14189         * text2.C: remove some commented code.
14190         reindent file.
14191
14192         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14193         * trans.C: changes because of the above.
14194
14195 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14196
14197         * text2.C (setCounter): Fix counters bug with bibliography layout.
14198
14199 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14200
14201         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14202         own member functions
14203         (simpleTeXSpecialChars): ditto
14204
14205 2001-07-06  Juergen Vigna  <jug@sad.it>
14206
14207         * a lot of files: changed the access to LyXText::status and the
14208         call of undo-functions.
14209
14210         * undo.[Ch]: added a inset_id to the undo informations.
14211
14212         * undo_funcs.[Ch]: added and moved here all undo functions.
14213
14214         * lyxtext.h: give the status enum a weight, made status_ a private
14215         variable and made accessor functions for it, removed the whole bunch
14216         of undo-functions as they are now in their own file, make some
14217         functions publically available. Added function ownerParagraph with
14218         int parameter.
14219
14220         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14221         made InInset() a const function, added getParFromID() function.
14222
14223         * buffer.[Ch]: added const version for inset_iterator functions,
14224         added getInsetFromID() function.
14225
14226         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14227         changed undo functions for new version.
14228
14229 2001-07-05  Juergen Vigna  <jug@sad.it>
14230
14231         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14232         unknow mechanism does not call the proper constructor but only this
14233         one also if I request the other!?
14234
14235 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14238
14239         * text2.C (LyXText): use initialization lists.
14240
14241         * lyxtext.h (Selection): initialize set_ and mark_
14242         (init): remove method
14243
14244 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14245
14246         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14247
14248 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14249
14250         * screen.[Ch]: change method names to begin with lowercase
14251
14252         * BufferView_pimpl.C (updateScrollbar): simplify further and
14253         hopefully make it a bit faster.
14254
14255 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14256
14257         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14258         calling directly xforms functions.
14259
14260         * Painter.C (Painter):
14261         * lyx_cb.C (MenuWrite):
14262         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14263         fl_display.
14264
14265         * lyx_gui.C: remove bogus guiruntime extern declaration.
14266
14267 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14268
14269         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14270         in NEW_INSETS
14271         (redoDrawingOfParagraph): ditto
14272         (redoParagraphs): ditto
14273         (cutSelection): don't create a object for CutAndPaste use the
14274         static method directly
14275         (pasteSelection): ditto
14276
14277         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14278         LyXview (+ rename)
14279
14280 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14281
14282         * modifications to some other files because of this.
14283
14284         * Makefile.am (lyx_SOURCES): add XFormsView
14285
14286         * XFormsView.[Ch]: new files
14287
14288         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14289         the main window. Move the gui dependent stuff to XFormsView
14290
14291 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14292
14293         * tabular.C (GetCellInset): update cur_cell also in the row/col
14294         version of this function.
14295
14296         * lyxfunc.C: no need to include figure_form.h here.
14297
14298         * FontLoader.h:
14299         * lyxfunc.h:
14300         * lyxscreen.h:
14301         * text2.C:
14302         * lyxvc.C: no need to include forms.h here.
14303
14304 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14305
14306         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14307
14308         * lyxfunc.C (Dispatch):
14309         * Spacing.C (set):
14310         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14311         constructor argument.
14312
14313 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14314
14315         * paragraph.C (Paragraph): dont't clear, and just set layout.
14316         (makeSameLayout): use params's copy contructor.
14317
14318         * ParagraphParameters.[Ch] (makeSame): delete method
14319
14320 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14321
14322         * Variables.[Ch]: fix indentation, rename set to isSet
14323
14324 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14325
14326         * lyxfunc.C (Dispatch): fix typo
14327
14328 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14329
14330         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14331         upper_bound.
14332
14333         * bufferlist.C: include assert.h for emergencyWrite().
14334
14335 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14338           give up at last (bug #425202) !
14339
14340 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14341
14342         * lyx_gui_misc.C:
14343         * sp_form.h:
14344         * sp_form.C:
14345         * spellchecker.h:
14346         * spellchecker.C: strip spellchecker options and bring up
14347           preferences tab instead
14348
14349 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14350
14351         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14352         the istringstream constructor
14353
14354 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14355
14356         * paragraph.C (getLayout): fix return value
14357
14358         * paragraph.h: do not declare getLayout as inline.
14359
14360         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14361
14362 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14363
14364         * lyxcursor.h (operator<): new func
14365         (operator>): new func
14366         (operator>=): new func
14367         (operator<=): new func
14368
14369         * text.C (changeCase): use selection.start and selection.end
14370         (changeRegionCase): require from to be <= to. Require par to be a
14371         valid paragraph.
14372
14373         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14374
14375 2001-06-27  Juergen Vigna  <jug@sad.it>
14376
14377         * text.C (cursorLeftOneWord): changed to return the cursor and added
14378         overlay with BufferView * parameter which calls this one.
14379         (getWord): added
14380         (selectWord): use new getWord function.
14381         (changeCase): renamed from changeWordCase as and extended to work
14382         also on selections.
14383
14384         * lyxtext.h: added enum word_location
14385
14386         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14387         changeCase as this operates now also on selections.
14388
14389 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14390
14391         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14392
14393         * many files: send debug output to Debug::INFO instead of
14394         Debug::ANY.
14395
14396         * converter.C (View):
14397         (Convert):
14398         (Move): send debug output to Debug::FILES instead of console.
14399
14400 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14401
14402         * lyxfunc.C (getStatus): use func_status
14403
14404         * func_status.h: new header, describing the results of
14405         LyXFunc::getStatus;
14406
14407         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14408         LFUN_MATH_HALIGN.
14409
14410 2001-06-25  The LyX Project  <jug@sad.it>
14411
14412         * buffer.C (sgmlOpenTag):
14413         (sgmlCloseTag):
14414         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14415
14416 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14417
14418         * text2.C: remove some dead code
14419
14420         * tabular.C (GetCellInset): store the last cell checked (gotten)
14421
14422         * tabular.h: add the helper for the speedup
14423
14424         * lyxtext.h: remove some dead code
14425
14426 2001-06-26  The LyX Project  <Asger>
14427
14428         * paragraph.C: Change export to LaTeX of alignment to
14429         \begin{center} and family for better roundtrip work with reLyX.
14430
14431         * Tune the math drawing a bit.
14432
14433 2001-06-25  The LyX Project  <Asger>
14434
14435         * LColor.C (LColor): New color for math background. New color
14436         for buttons.
14437
14438 2001-06-25  The LyX Project  <jug@sad.it>
14439
14440         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14441
14442         * lyxfunc.C (Open):
14443         * bufferlist.C (newFile): do not restrict to files ending with
14444         .lyx
14445
14446         * BufferView_pimpl.C (MenuInsertLyXFile):
14447
14448 2001-06-24  The LyX Project  <jug@sad.it>
14449
14450         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14451         of compare_no_case
14452
14453 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14454
14455         * lyxtext.h: rename most methods to begin with a small char.
14456         Lots of changes because of this.
14457
14458         * paragraph.C (Paragraph): do not call fitToSize
14459         (erase): call Pimpl::erase
14460         (insertChar): call Pimpl::insertChar
14461         (insertInset): call Pipl::insertInset
14462         (breakParagraph): do not call fitToSize
14463         (breakParagraphConservative): do not call fitToSize
14464         (fitToSize): remove method
14465
14466         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14467
14468 2001-06-24  The LyX Project  <Asger>
14469
14470         * Fix Qt compilation^2
14471
14472 2001-06-24  The LyX Project  <jug@sad.it>
14473
14474         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14475         depthHook(getDepth()-1).
14476
14477         * paragraph.h:
14478         * ParagraphParameters.h:
14479         * ParameterStruct.h: change type of depth to unsigned int ==
14480         depth_type. Many adaptations to other files before of that.
14481
14482 2001-06-24  The LyX Project  <Asger>
14483
14484         * Fix Qt compilation.
14485
14486 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14487
14488         * paragraph.h: renamed several methods to begin with small letter.
14489         several changes to many parts of the code because of this.
14490
14491 2001-06-23  The LyX Project  <jug@sad.it>
14492
14493         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14494         rewritten to discard all double spaces when KeepEmpty is off
14495         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14496         to only handle newlines but not fiddle with spaces and friends.
14497
14498         * lyxfunc.C (MenuNew): when doing 'new from template', use
14499         template_path as default directory
14500
14501 2001-06-23  The LyX Project  <Asger>
14502
14503         * Clean-up of header file includes all over
14504         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14505
14506 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14507
14508         * paragraph.h: renamed from lyxparagraph.h
14509
14510 2001-06-23  Asger  <lyx@violet.home.sad.it>
14511
14512         * Buffer.h: Removed Buffer::resize
14513         * BufferList.h: Removed BufferList::resize
14514         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14515         the document lazily when we change the width, or the font settings.
14516
14517 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14518
14519         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14520
14521 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14522
14523         * buffer.h: remove out of date comment
14524
14525 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14526
14527         * lyxscreen.h:
14528         * screen.C: fix "theoretical" GC leak
14529
14530 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14531
14532         * LaTeX.C (scanAuxFile):
14533         (deplog): remove trailing \r when reading stream (useful under
14534         win32)
14535
14536 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14537
14538         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14539         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14540         and BufferView::theLockingInset(Inset*), so should use them and not
14541         access bv_->text->the_locking_inset directly.
14542
14543         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14544
14545 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14546
14547         * Makefile.am:
14548         * tex-defs.h: remove old unused file
14549
14550 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14551
14552         * BufferView_pimpl.C: fix typo, remove minibuffer message
14553           when buffer has loaded
14554
14555 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14556
14557         * lyxfunc.C (Dispatch): use stringstream
14558         (MenuNew): use stringstream
14559         (Open): use stringstream
14560
14561         * importer.C (Import): use stringstream
14562
14563         * bufferview_funcs.C (CurrentState): use stringstream
14564
14565         * LaTeX.C (run): use stringstream
14566
14567         * BufferView_pimpl.C (savePosition): use stringstream
14568         (restorePosition): use stringstream
14569         (MenuInsertLyXFile): use stringstream
14570
14571 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14572
14573         * BufferView.C:
14574         * Bullet.C:
14575         * ColorHandler.C:
14576         * FontInfo.C:
14577         * FontLoader.C:
14578         * LColor.C:
14579         * LaTeXFeatures.C:
14580         * Painter.C:
14581         * gettext.C:
14582         * lyx_gui_misc.C:
14583         * lyxserver.C:
14584         * vspace.C: removed // -*- C++ -*- as first line.
14585
14586         * lyxfind.h:
14587         * version.h: added // -*- C++ -*- as first line.
14588
14589 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14590
14591         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14592
14593         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14594         of string
14595
14596 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14597
14598         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14599         of floats.
14600
14601 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14602
14603         * gettext.C: include LString.h even when --disable-nls is on.
14604
14605 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14606
14607         * converter.h (Get): changed argument type from int to
14608         FormatList::size_type to avoid unnecessary conversion.
14609
14610         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14611         before using it.
14612
14613 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14614
14615         * gettext.h: include LString.h even when --disable-nls is on.
14616
14617 2001-06-07  Juergen Vigna  <jug@sad.it>
14618
14619         * text.C (BreakAgain): subst spaces with tabs.
14620
14621         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14622         (resizeInsetsLyXText): set force on resizeLyXText.
14623
14624 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14625
14626         * gettext.h (gettext_init):
14627         (locale_init): use a real definition instead of a macro
14628
14629 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14630
14631         * Bufferview_pimpl.C:
14632         * LColor.h:
14633         * LColor.C: further lcolor tidies
14634
14635 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14636
14637         * BufferView_pimpl.C (updateScrollbar): simplify.
14638
14639         * BufferView2.C: don't include insets/insetinfo.h, change
14640         prototype for insertInset and call the Pimpl version. let
14641         updateInset call Pimpl version.
14642
14643         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14644         gotoInset to BufferView::Pimpl
14645
14646 2001-06-01  Juergen Vigna  <jug@sad.it>
14647
14648         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14649         inside a LockingInset (is the update needed at all?).
14650
14651 2001-05-31  Juergen Vigna  <jug@sad.it>
14652
14653         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14654         here not the old one otherwise how should we compare it afterwards
14655         if it's the same!
14656
14657 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14658
14659         * lyxfont.C:
14660         * tabular.C:
14661         * tabular-old.C:
14662         * FontInfo.C: bring C functions into global namespace when
14663         necessary
14664
14665 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14666
14667         * LString.h: make sure config.h has been loaded before LString.h.
14668
14669         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14670         (one for each char read by EatLine!).
14671
14672         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14673         variables.
14674
14675 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14676
14677         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14678         to the same as the par we break from
14679
14680 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14681
14682         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14683
14684         * MenuBackend.C (expand): also create menu entries for wide
14685         versions of the floats.
14686
14687         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14688
14689         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14690
14691         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14692         frontends/Makefile.am
14693
14694         * text2.C: adjust
14695         * text.C: adjust
14696
14697
14698         * tabular.C (getTokenValue): add std::
14699
14700         * tabular-old.C (getTokenValue): add std::
14701         (getTokenValue): ditto
14702         (getTokenValue): ditto
14703
14704         * screen.C (ToggleSelection): adjust
14705
14706         * lyxtext.h: put selection cursors inside a Selection struct.
14707
14708         * lyxfunc.C (moveCursorUpdate): adjust
14709
14710         * lyxfont.C (latexWriteStartChanges): add std::
14711
14712         * lyxfind.C: adjust
14713
14714         * font.h: delete with(char const *, LyXFont const &)
14715
14716         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14717
14718         * FontInfo.C (getFontname): add std::
14719
14720         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14721         (workAreaButtonPress): adjust
14722         (tripleClick): adjust
14723         (update): adjust
14724         (moveCursorUpdate): adjust
14725         (Dispatch): adjust
14726
14727         * BufferView2.C (gotoInset): adjust
14728
14729 2001-05-30  Juergen Vigna  <jug@sad.it>
14730
14731         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14732         to check pspell I add this as default as I now have new pspell
14733         libraries and they seem to use this.
14734
14735 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14736
14737         * text2.C (CutSelection): make the cursor valid before the call to
14738         ClearSelection.
14739
14740 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14741
14742         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14743         relied on 0 terminated strings and other horrors. Bug found due to
14744         the new assert in lyxstring!
14745
14746         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14747         KP_ keys.
14748
14749 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14750
14751         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14752         to latinkeys.bind.
14753
14754         * lyxfunc.C (processKeySym): change method of getting to the
14755         self-insert char.
14756
14757         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14758         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14759         * BufferView_pimpl.[Ch]: here as private methods.
14760
14761 2001-05-28  Juergen Vigna  <jug@sad.it>
14762
14763         * text.C (SetHeightOfRow): added the update() call again as it is
14764         needed to initialize inset dimensions!
14765
14766 2001-05-16  Juergen Vigna  <jug@sad.it>
14767
14768         * text2.C (SetCharFont): Add new function with BufferView * and
14769         bool toggleall parameters for setting insets internal fonts.
14770         (SetFont): Freeze the undo as we may change fonts in Insets and
14771         all this change should be inside only one Undo!
14772
14773         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14774         setting font's in insets as for them we have the SetFont function!
14775
14776 2001-05-15  Juergen Vigna  <jug@sad.it>
14777
14778         * text2.C (ClearSelection): to be sure we REALLY don't have any
14779         selection anymore!
14780
14781         * tabular.C (TeXCellPreamble): fixed the left border problem for
14782         multicolumn cells.
14783
14784 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14785
14786         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14787         dependancy file
14788
14789 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14790
14791         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14792         LFUN_BREAKPARAGRAPH.
14793
14794         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14795         help test to "internal only", similar for LFUN_INSERT_URL
14796
14797         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14798         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14799         auto_region_delete and deadkeys.
14800
14801 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14802
14803         * LColor.h:
14804         * LColor.C: remove some dead entries, tidy a little
14805
14806 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14807
14808         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14809         commented code.
14810         (Dispatch): implement LFUN_ESCAPE
14811
14812         * commandtags.h: add LFUN_ESCAPE
14813
14814         * LyXAction.C (init): add entry for LFUN_ESCAPE
14815
14816         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14817         Remove commented code.
14818         (insertNote): moved here
14819         (open_new_inset): moved here
14820
14821         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14822         BufferView_pimpl
14823
14824 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14825
14826         * kbmap.C (findbinding): clean it up and make it work correctly.
14827
14828         * lyx_main.C (init): do not pass argc and argv as parameters
14829
14830 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14831
14832         * buffer.C: fix path for OS/2 & Win32
14833
14834         * lyx_gui.C:
14835         * lyx_main:
14836         * lyx_main.C: Added os:: class.
14837
14838         * os2_defines.h: update
14839
14840 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14841
14842         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14843         better by trying again with reduced state.
14844
14845 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14846
14847         * lyxrc.C (read): print error about invalid key sequence only when
14848         debugging (because not all latinX keysyms are known to some X
14849         servers)
14850
14851         * kbsequence.C (getiso): add a few std:: qualifiers
14852         (getiso): comment out extra return statement.
14853
14854 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14855
14856         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14857         handling.
14858         (Dispatch): enhance the accent inset a bit. (not perfect)
14859
14860 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14861
14862         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14863
14864 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14865
14866         * bufferlist.C (emergencyWrite): fix assert() call
14867
14868 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14869
14870         * text.C (InsertChar): Added trivial patch to only send the "you
14871         can not do multiple spaces this way" message once during a
14872         session.
14873
14874 2001-05-08  Baruch Even  <baruch@lyx.org>
14875
14876         * Makefile.am: Changed order of libraries to get LyX to link properly
14877         with the gnome frontend.
14878
14879 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14880
14881         * LaTeXFeatures.h: add a std:: qualifier
14882
14883 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14884
14885         * paragraph.C (String): use stringstream
14886
14887 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14888
14889         * paragraph.C (writeFile): remove footflag arg
14890
14891         * buffer.C (makeLaTeXFile): use stringstream
14892         (latexParagraphs): remove footnot gurba
14893
14894         * LaTeXFeatures.C (getPackages): use stringstream
14895         (getMacros): likewise
14896         (getTClassPreamble): likewise
14897         (getFloatDefinitions): new method
14898
14899         * paragraph.C (writeFile): reindent
14900         (Erase): reindent
14901
14902         * WorkArea.h: revert the xpos + etc changes.
14903
14904         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14905
14906         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14907
14908         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14909         (pasteSelection): likewise
14910         * text2.C (CreateUndo): likewise
14911
14912 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14913
14914         * minibuffer.C (peek_event): temporarily reduce the functionality
14915         of the minibuffer (to allow args on lfuns)
14916
14917         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14918         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14919
14920         * buffer.C (readInset): add compability reading of old float
14921         lists, add reading of new style float list.
14922         (readInset): avoid reevaluation of inscmd.getCmdName()
14923         (getLists): reindent
14924
14925         * MenuBackend.C (MenuItem): implement parsing of
14926         md_floatlistinsert and md_floatinsert.
14927         (expand::LastFiles): move initalizaton of iterators out of loop,
14928         avoid reevaluation.
14929         (expand::Documents): introduce typdedef vector<string> Strings,
14930         and use it.
14931         (expand::ExportFormats): introduce typedef vector<Format const *>
14932         Formats, and use it.
14933         (expand): implement FloatListInsert and FloatInsert.
14934
14935         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14936         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14937         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14938
14939         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14940         handling.
14941         (Dispatch::LFUN_FLOAT_LIST): implement
14942
14943 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14944
14945         * LaTeX.C (run): Fix problem with --export code.
14946
14947 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14948
14949         * BufferView.[Ch] (workarea): removed.
14950         (getClipboard) new method; wrapper for workarea()->getClipboard()
14951
14952         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14953         bug.
14954
14955         * WorkArea.h (width, height, xpos, ypos): These methods all
14956         returned the dimensions of the work_area sub-area of WorkArea,
14957         resulting in a position error if the WorkArea were resized. Now
14958         return the dimensions of the entire WorkArea.
14959
14960         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14961
14962 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14963
14964         * LaTeX.C (deplog): correct the syntax of regex reg1
14965
14966 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14967
14968         * undo.C: remove !NEW_INSETS cruft
14969
14970 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14971
14972         * text2.C: remove !NEW_INSETS cruft
14973
14974         * text.C: remove !NEW_INSETS cruft
14975
14976         * tabular.C: remove !NEW_INSETS cruft
14977
14978         * spellchecker.C: remove !NEW_INSETS cruft
14979
14980         * lyxtext.h: remove !NEW_INSETS cruft
14981
14982         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14983
14984         * lyxfunc.C: remove !NEW_INSETS cruft
14985
14986         * lyxfind.C: remove !NEW_INSETS cruft
14987
14988         * lyx_cb.C: remove !NEW_INSETS cruft
14989
14990         * figureForm.C: remove  !NEW_INSETS cruft
14991
14992         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14993
14994         * buffer.[Ch]: remove !NEW_INSETS cruft
14995
14996         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14997
14998         * CutAndPaste.C: remove !NEW_INSETS cruft
14999
15000         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15001
15002         * BufferView2.C: remove !NEW_INSETS cruft
15003
15004         * BufferView.h: remove !NEW_INSETS cruft
15005
15006 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15007
15008         * Lsstream.h: include LString.h before the sstream headers to
15009         fix problem with gcc 2.95.3 and lyxstring
15010
15011 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15012
15013         * lyx_main.C: add using directives when needed for C functions
15014         declared in std:: namespace.
15015
15016 2001-04-27  Juergen Vigna  <jug@sad.it>
15017
15018         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15019         (SetHeightOfRow): comment out the update call should not be needed!
15020
15021 2001-04-13  Juergen Vigna  <jug@sad.it>
15022
15023         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15024         (LyXTabular): tried to minimize operator= operations (and realized
15025         hopfully Lars wish).
15026
15027 2001-04-27  Juergen Vigna  <jug@sad.it>
15028
15029         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15030
15031 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15032
15033         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15034
15035         * buffer.C (readInset): hack to make listof algorithm work
15036
15037         * BufferView_pimpl.C: hack to make listof algorithm work
15038
15039 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15040
15041         * LyXAction.C: removed all !NEW_INSETS cruft
15042         (init): moved lfun_item in method
15043
15044         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15045
15046 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15047
15048         * BufferView2.C (theLockingInset): white space.
15049
15050 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15051
15052         * minibuffer.C: include <iostream>
15053
15054         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15055
15056         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15057
15058         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15059
15060         * text.[Ch] (TransposeChars): new method
15061
15062 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15063
15064         * call message directly through LyXView instead of through LyXFunc
15065         * BufferView2.C: adjust
15066         * BufferView_pimpl.C: adjust
15067         * FontLoader.C: adjust
15068         * buffer.C: adjust
15069         * bufferview_funcs.C: adjust
15070         * converter.C: adjust
15071         * figureForm.C: adjust
15072         * importer.C: adjust
15073         * lyx_cb.C: adjust
15074         * lyx_gui_misc.C: adjust
15075         * lyxfunc.C: adjust
15076         * lyxvc.C: adjust
15077         * text2.C: adjust
15078         + more files in subdirs
15079
15080         * lyxparagraph.h (size): move up int file
15081         (GetLayout): ditto
15082
15083         * adjust all uses of Assert to lyx::Assert.
15084
15085         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15086         lyxfunctional in namespace lyx
15087         * layout.C (hasLayout): ditto
15088         (GetLayout): ditto
15089         (GetLayout): ditto
15090         (delete_layout): ditto
15091         (NumberOfClass): ditto
15092         * converter.C (GetFormat): ditto
15093         (GetNumber): ditto
15094         (Add): ditto
15095         (Delete): ditto
15096         (SetViewer): ditto
15097         * bufferlist.C (getFileNames): ditto
15098         (emergencyWriteAll): ditto
15099         (exists): ditto
15100         (getBuffer): ditto
15101         * MenuBackend.C (hasSubmenu): ditto
15102         (hasMenu): ditto
15103         (getMenu): ditto
15104         * BufferView_pimpl.C (getInsetByCode): ditto
15105
15106 2001-04-18  Juergen Vigna  <jug@sad.it>
15107
15108         * vspace.C (asLatexString): fixed the 100% problem.
15109
15110 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15111
15112         * lyxfunc.C (Dispatch):
15113         * minibuffer.C:
15114         * minibuffer.h: add a few std:: qualifiers
15115
15116 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15117
15118         * minibuffer.[Ch]: reimplement so that commands is initiated and
15119         run from lyxfunc, simplified som handling, and made the completion
15120         and history code for complete. wip.
15121
15122         * lyxfunc.C (processKeySym): call message
15123         (miniDispatch): new temporary method
15124         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15125         (LFUN_MESSAGE): implement
15126         (LFUN_MESSAGE_PUSH): implement
15127         (LFUN_MESSAGE_POP): implement
15128         (initMiniBuffer): the initial/defualt minibuffer message.
15129
15130         * lyxfont.[Ch]: inline some more getters
15131
15132         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15133
15134         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15135
15136         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15137         (AutoSave): use LFUN_MESSAGE
15138         (Reconfigure): ditto
15139
15140         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15141
15142         * figureForm.C: use LFUN_MESSAGE
15143
15144         * converter.C (runLaTeX): use LFUN_MESSAGE
15145
15146         * bufferview_funcs.C: use LFUN_MESSAGE
15147         (Melt): ditto
15148         (changeDepth): ditto
15149
15150         * bufferparams.h: use boost::
15151
15152         * bufferlist.h: inherit privately from noncopyable
15153
15154         * bufferlist.C (loadLyXFile): remove some commented code.
15155
15156         * buffer.C (runChktex): use LFUN_MESSAGE
15157
15158         * ShareContainer.h: inherit privately from noncopyable
15159
15160         * ParagraphParameters.[hC] (depth): inline it.
15161
15162         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15163         methods.
15164         (message): new method
15165         (messagePush): ditto
15166         (messagePop): ditto
15167         (show): init minibuffer
15168         (showState): direct call
15169
15170         * LaTeX.[Ch]: inherit privately from noncopyable
15171         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15172         instead of WriteStatus.
15173
15174         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15175
15176         * BufferView_pimpl.C (buffer): don't init minibuffer
15177         (workAreaButtonPress): use LFUN_MESSAGE
15178         (workAreaButtonRelease): ditto
15179         (savePosition): ditto
15180         (restorePosition): ditto
15181         (MenuInsertLyXFile): ditto
15182         (workAreaExpose): don't init minibuffer
15183         (update): remove commented code, simplify
15184
15185         * BufferView2.C (openStuff): use LFUN_MESSAGE
15186         (toggleFloat): ditto
15187         (menuUndo): ditto
15188         (menuRedo): ditto
15189         (copyEnvironment): ditto
15190         (pasteEnvironment): ditto
15191         (copy): ditto
15192         (cut): ditto
15193         (paste): ditto
15194         (gotoInset): ditto
15195         (updateInset): remove some commented code
15196
15197         * lastfiles.h: inherit privately from noncopyable
15198         * layout.h: ditto
15199         * lyx_gui.h: ditto
15200         * lyx_main.h: ditto
15201         * lyxlex.h: ditto
15202         * lyxlex_pimpl.h: ditto
15203
15204         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15205         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15206         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15207
15208         * LyXAction.h: inherit privately from noncopyable, add methods
15209         func_begin, func_end, returning iterators to the func map.
15210
15211         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15212         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15213         (func_begin): new method
15214         (func_end): new method
15215
15216         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15217         and not)
15218         (copySelection): ditto
15219         (pasteSelection): ditto
15220
15221         * BufferView.C: whitespace change
15222         * BufferView.h: inherit privately from noncopyable
15223
15224 2001-04-16  Allan Rae  <rae@lyx.org>
15225
15226         * tabular-old.C (l_getline):
15227         * spellchecker.C (sc_check_word):
15228         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15229         an unrecognised preprocessor directive.  So ensure they're wrapped.
15230
15231 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15232
15233         * src/exporter.C (Export): Give an error message when path to file
15234         contains spaces.
15235
15236 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15237
15238         * LaTeX.C (deplog): Always check that foundfile exists.
15239
15240 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15241
15242         * lyx_main.h:
15243         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15244
15245 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15246
15247         * tabular.[Ch] (getLabelList): implement new method
15248
15249         * minibuffer.h: comment ouf setTiimer
15250
15251         * minibuffer.C (ExecutingCB): constify res
15252         (peek_event): constify s
15253         (Set): constify ntext
15254         (Init): constify nicename
15255
15256         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15257
15258         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15259         (savePosition): use two params to Minibuffer::Set
15260         (restorePosition): ditto
15261
15262 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15263
15264         * lyx_main.C: include language.h
15265
15266         * Makefile.am (lyx_main.o): add language.h
15267
15268 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15269
15270         * exporter.C:
15271         * paragraph.C:
15272         * screen.C:
15273         * tabular.C:
15274         * CutAndPaste.C: include gettext.h
15275
15276         * lyxfont.h: remove old hack with ON and OFF.
15277
15278         * lyxparagraph.h:
15279         * lyxfont.h: do not include language.h...
15280
15281         * BufferView2.C:
15282         * LaTeXFeatures.C:
15283         * Painter.C:
15284         * bufferview_funcs.C:
15285         * font.C:
15286         * lyxfont.C:
15287         * text.C:
15288         * text2.C:
15289         * trans_mgr.C:
15290         * paragraph.C: ... but do it here instead
15291
15292 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15293
15294         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15295
15296         * tabular.C: small reformat
15297
15298         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15299         NEW_INSETS version
15300         (GetChar): ditto
15301         (BreakParagraph): ditto
15302         (SetOnlyLayout): ditto
15303         (SetLayout): ditto
15304
15305         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15306         with one arg less.
15307
15308         * lastfiles.C: removed most using decl, add std:: where needed
15309
15310         * buffer.C: ws changes
15311
15312         * MenuBackend.C (class compare_format): put into anon namespace
15313         (expand): constify label, names, action, action2
15314         (expand):
15315
15316         * text.C (SingleWidth): constify font
15317         (IsBoundary): constify rtl2
15318         (GetVisibleRow): constify ww
15319
15320         * LaTeX.C (deplog): constify logfile
15321
15322         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15323         start_x, end_x
15324         (workAreaExpose): constify widthChange, heightChange
15325
15326         * lyxrow.C (par): moved
15327         (height): moved
15328         (next): moved
15329         * lyxrow.h: as inlines here
15330
15331         * lyxfont.h (shape): moved from lyxfont.C
15332         (emph): moved from lyxfont.C
15333
15334         * lyxfont.C (LyXFont): use initialization list for all
15335         constructors
15336         (shape): move to lyxfont.h as inline
15337         (emph): move to lyxfont.h as inline
15338
15339
15340 2001-04-04  Juergen Vigna  <jug@sad.it>
15341
15342         * vspace.C: had to include stdio.h for use of sscanf
15343
15344 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15345
15346         * BufferView.h:
15347         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15348         independent of xforms.
15349
15350 2001-04-02  Juergen Vigna  <jug@sad.it>
15351
15352         * spellchecker.C: fixed namespace placing!
15353
15354 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15355
15356         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15357         the LyXParagraph * is 0.
15358
15359 2001-03-29  Juergen Vigna  <jug@sad.it>
15360
15361         * vspace.C: added support for %, c%, p%, l%.
15362         (stringFromUnit): added helper function.
15363         (asLatexString): changed to give right results for the %-values.
15364
15365         * buffer.C: convert the widthp in a width%.
15366
15367 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15368
15369         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15370         figureForm.[Ch].
15371
15372         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15373         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15374
15375         * lyx_cb.[Ch]: see above.
15376
15377         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15378         form1.[Ch].
15379
15380         * form1.[Ch]:
15381         * lyx.[Ch]: replaced by figure_form.[Ch].
15382
15383         * lyx_gui.C:
15384         * lyx_gui_misc.C:
15385         * lyxfunc.C: changed headers associated with above changes.
15386
15387 2001-03-27  Juergen Vigna  <jug@sad.it>
15388
15389         * BufferView_pimpl.C: set the temporary cursor right!
15390
15391 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15392
15393         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15394
15395 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15396
15397         * LString.h: removed "using std::getline"!
15398
15399         * BufferView_pimpl.C (Dispatch): changes due to changes in
15400         InsetInclude::Params.
15401
15402         * buffer.C (tag_name): removed redundant break statements as they were
15403         producing lots of warnings with my compiler.
15404
15405 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15406
15407         * LString.h: add "using std::getline" when using the real <string>.
15408
15409 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15410
15411         * buffer.C: removed bitset usage.
15412         PAR_TAG moved to an anonymous name space.
15413         (tag_name): new funtion, also in the anonymous namespace.
15414         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15415         (makeDocBookFile): clean code. Completed transition from string arrays
15416         to string vectors.
15417         (SimpleDocBookOnePar): code clean.
15418
15419 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15420
15421         * tabular.C: add some comments.
15422
15423 2001-03-22  Juergen Vigna  <jug@sad.it>
15424
15425         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15426         compatibility read a bit and fixed bug with minipage in different
15427         depth.
15428
15429 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15430
15431         * buffer.C (pop_tag): removed.
15432         (push_tag): removed.
15433         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15434         array replaced with vector. Added support for CDATA sections.
15435         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15436         at any nest level.
15437         (makeDocBookFile): XML conformant declaration of CDATA section,
15438         fixed bug related to <emphasis> in the first paragraph char.
15439         (sgmlOpenTag): exclude empty tags.
15440         (sgmlCloseTag): ditto.
15441
15442         * buffer.h (pop_tag): removed.
15443         (push_tag): removed.
15444
15445 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15446
15447         * language.h (Languages): added size_type and size().
15448
15449 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15450
15451         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15452         response on compability reading of minipages. One probliem is that
15453         the old usage of minipages was «flertydig»
15454
15455         * several files here and in subdirs: don't use static at file
15456         scope use anon namespaces instead.
15457
15458 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15459
15460         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15461         LaTeX output. This is necessary for Literate document
15462         processing.
15463
15464 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15465
15466         * buffer.C: insert hfill when needed.
15467
15468         * tabular.C (l_getline): use string::erase, small whitespace change.
15469
15470         * BufferView_pimpl.C: try the anon namespace.
15471         * WorkArea.C: ditto
15472
15473 2001-03-16  Juergen Vigna  <jug@sad.it>
15474
15475         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15476         otherwise it won't open options-dialogs.
15477
15478         * buffer.C: honor pextraWidth(p) on converting minipages.
15479
15480         * tabular.C (l_getline): changed the functions to strip trailing \r.
15481
15482 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15483
15484         * BufferView_pimpl.C:
15485         * minibuffer..C: added "using SigC::slot" declaration.
15486
15487 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15488
15489         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15490
15491         * text2.C: ditto
15492
15493         * text.C: ditto
15494
15495         * paragraph.C: ditto
15496
15497         * lyxtext.h: NO_PEXTRA
15498
15499         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15500
15501         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15502         * ParameterStruct.h: ditto
15503         * ParagraphParameters.h: ditto
15504         * lyxparagraph.h: ditto
15505
15506 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15507
15508         * buffer.C: add compability for minipage alignment.
15509         (latexParagraphs): remove unwanted pextra check.
15510
15511         * several files: remove CXX_WORKING_NAMESPACES
15512
15513         * buffer.C (pop_tag): tie is in namespace boost
15514
15515         * BufferView.h: noncopyable is in namespace boost
15516         * lyxlex.h: ditto
15517         * lyx_main.h: ditto
15518         * lyx_gui.h: ditto
15519         * layout.h: ditto
15520         * lastfiles.h: ditto
15521         * bufferlist.h: ditto
15522         * ShareContainer.h: ditto
15523         * LyXView.h: ditto
15524         * LyXAction.h: ditto
15525         * LaTeX.h: ditto
15526
15527 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15528
15529         * Merging changes from BRANCH_MVC back into HEAD.
15530
15531         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15532
15533 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15534
15535         * BufferView_pimpl.C: change from intl.C
15536
15537         * combox.h:
15538         * combox.C:
15539         * Makefile.am: move combox.*
15540
15541         * form1.h:
15542         * form1.C:
15543         * lyx_gui.C:
15544         * intl.h:
15545         * intl.C: remove dialog (covered by prefs)
15546
15547 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15548
15549         * lyxfunc.C (Dispatch): removed redundant break statement.
15550
15551 2001-03-14  Juergen Vigna  <jug@sad.it>
15552
15553         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15554
15555 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15556
15557         * buffer.C: add hack to fix compability reading of minipages.
15558
15559 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15560
15561         * buffer.C (getLists): Cleanup.
15562
15563 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15564
15565         * lyxfont.C (update): don't honor toggleall on font size.
15566
15567 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15568
15569         * bmtable.c:
15570         * bmtable.h:
15571         * Makefile.am: moved to frontends/xforms/
15572
15573         * lyx_gui_misc.C:
15574         * lyxfunc.C:
15575         * BufferView_pimpl.C: changes for moved mathpanel
15576
15577 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15578
15579         * gettext.h: fix gettext_init() in --disable-nls
15580
15581 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15582
15583         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15584
15585 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15586
15587         * lyx.C:
15588         * lyx.h: strip external form
15589
15590 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15591
15592         * BufferView_pimpl.C: add comment, destroySplash()
15593
15594 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15595
15596         * BufferView_pimpl.C:
15597         * LyXAction.C:
15598         * buffer.C:
15599         * commandtags.h:
15600         * lyxfunc.C: use re-worked insetinclude
15601
15602 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15603
15604         * buffer.C: add using std::stringstream.
15605
15606         * lyx_cb.C: readd using std::ios.
15607
15608         * buffer.C: add using std::map.
15609
15610         * BufferView_pimpl.C: add using std::vector.
15611
15612         * ShareContainer.h: add std:: to swap.
15613
15614         * buffer.h: add some typedefs
15615         * buffer.C (getLists): use them
15616         (getLists): renamed from getTocList.
15617         add a counter for the different float types and use it in the
15618         generated string.
15619         (getLists): use the same counter for the NEW_INSETS and the "non"
15620         NEW_INSETS
15621
15622         * lyx_cb.h: remove unused items, includes, using etc.
15623
15624         * ShareContainer.h: remove some commented code, add more comments
15625         and "documentation".
15626
15627 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15628
15629         * buffer.C (getTocList): make the list also when NEW_INSETS is
15630         defined.
15631
15632         * buffer.h: remove TocType
15633
15634         * buffer.C (getTocList): change to return a map<string,
15635         vector<TocItem> >, implement for dynamic number of list.
15636
15637         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15638         * text2.C (PasteSelection): adjust
15639         * CutAndPaste.C (pasteSelection): adjust
15640
15641         * FloatList.C (FloatList): update from the new_insets branch.
15642         * Floating.[Ch]: ditto
15643         * LaTeXFeatures.C: ditto
15644         * buffer.C: ditto
15645         * lyxlex_pimpl.C: ditto
15646
15647         * paragraph.C (Last): remove when NEW_INSETS is defined.
15648
15649         * other file: changes because of the above.
15650
15651 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15652
15653         * lyxparagraph.h: rename next to next_, previous to previous_,
15654         make them private for NEW_INSETS. Rename Next() to next(),
15655         Previous() to previous().
15656
15657         * other files: changes because of the above.
15658
15659 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15660
15661         * BufferView.h:
15662         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15663         problem.
15664
15665 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15666
15667         * main.C (main): pass lyx_localedir to gettext_init().
15668
15669         * gettext.h: remove locale_init and gettext_init macros
15670
15671         * gettext.C (locale_init): new function
15672         (gettext_init): new function
15673
15674         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15675         setlocale().
15676
15677 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15678
15679         * Moved credits to frontends:
15680         * credits.[Ch]: removed
15681         * credits_form.[Ch]: removed
15682         * lyx_gui_misc.C: remove credits stuff
15683         * Makefile.am:
15684
15685 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15686
15687         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15688
15689         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15690         unneeded destructor.
15691
15692         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15693         a standalone pointer again.
15694
15695         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15696
15697 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15698
15699         * Makefile.am:
15700         * filedlg.h:
15701         * filedlg.C:
15702         * LyXAction.C:
15703         * ToolbarDefaults.C:
15704         * bufferlist.C:
15705         * commandtags.h:
15706         * form1.C:
15707         * form1.h:
15708         * lyx_cb.C:
15709         * lyx_cb.h:
15710         * lyxfunc.h:
15711         * lyxfunc.C:
15712         * BufferView_pimpl.C: use new file dialog in GUII
15713
15714         * lyx_cb.h:
15715         * lyx_cb.C: remove LayoutsCB to Toolbar
15716
15717 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15718
15719         * ShareContainer.h (get): add std:: qualifier
15720
15721 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15722
15723         * ShareContainer.h: define a proper ShareContainer::value_type
15724         type (and use typename to please compaq cxx)
15725
15726 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15727
15728         * lyxparagraph.h: move serveral local vars to
15729         ParameterStruct/ParagraphParameters., use ShareContainer in
15730         FontTable., make vars in FontTable private and add getter and
15731         setter.
15732
15733         * paragraph.C: changes because of the above.
15734
15735         * lyxfont.h: remove copy constructor and copy assignment. (the
15736         default ones is ok), move number inside FontBits. move inlines to
15737         lyxfont.C
15738
15739         * lyxfont.C: add number to initializaton of statics, move several
15740         inlines here. constify several local vars. some whitespace
15741         cleanup. Dont hide outerscope variables.
15742
15743         * Spacing.h: add two new constructors to match the set methods.
15744
15745         * ShareContainer.h: new file, will perhaps be moved to support
15746
15747         * ParameterStruct.h: new file
15748
15749         * ParagraphParameters.h: new file
15750
15751         * ParagraphParameters.C: new file
15752
15753         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15754         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15755
15756         * BufferView_pimpl.C: ParagraphParameter changes.
15757         * buffer.C: Likewise.
15758         * bufferview_funcs.C: Likewise.
15759         * text.C: Likewise.
15760         * text2.C: Likewise.
15761
15762 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15763
15764         * lyxfind.C (LyXReplace): do not redefine default argument in
15765         implementation.
15766         (IsStringInText): ditto
15767         (SearchForward): ditto
15768         (SearchBackward): ditto
15769
15770 2001-03-06  Juergen Vigna  <jug@sad.it>
15771
15772         * lyxfind.C (IsStringInText): put parentes around expressions.
15773
15774 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15775
15776         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15777
15778 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15779
15780         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15781
15782         * stl_string_fwd.h: add comment
15783
15784         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15785
15786         * tabular.h:
15787         * tabular.C: remove unused DocBook methods
15788
15789         * intl.C:
15790         * language.C:
15791         * paragraph.C:
15792         * buffer.C:
15793         killed DO_USE_DEFAULT_LANGUAGE
15794
15795 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15796
15797         * lyx_gui.C: do not include language.h.
15798
15799         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15800         arguments in function implementation.
15801
15802 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15803
15804         * BufferView_pimpl.C: add <ctime>
15805
15806 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15807
15808         * BufferView_pimpl.C: add using std::find_if
15809
15810 2001-02-27  José Matos  <jamatos@fep.up.pt>
15811
15812         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15813         by OnlyPath.
15814
15815 2001-02-11  José Matos  <jamatos@fep.up.pt>
15816
15817         * buffer.C (makeDocBookFile): command styles now have a parameter as
15818         "title" by default.
15819
15820 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15821
15822         * layout_forms.[Ch]: removed
15823         * lyx_cb.[Ch]: out character
15824         * lyx_gui.C: out character
15825         * lyx_gui_misc.C: out character
15826         * bufferview_funcs.C: : out character,
15827         added toggleall as parameter in ToggleAndShow
15828
15829 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15830
15831         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15832
15833         * text2.C (SetCurrentFont): Disable number property at boundary.
15834
15835 2001-02-26  Juergen Vigna  <jug@sad.it>
15836
15837         * lyxfunc.C (getStatus): added a string argument override function so
15838         that this is correctly called from LyXFunc::Dispatch if it contains a
15839         do_not_use_argument which is used!
15840         (Dispatch): added check for "custom" export and call appropriate func.
15841
15842 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15843
15844         * lyxrc.C: Add language_command_local, language_use_babel and
15845         language_global_options.
15846
15847         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15848
15849         * buffer.C (makeLaTeXFile): Use language_use_babel and
15850         language_global_options.
15851
15852 2001-02-23  Juergen Vigna  <jug@sad.it>
15853
15854         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15855         which works with LyXText and putted it inside BufferView. Here now we
15856         only call for that part the BufferView::Dispatch() function.
15857
15858         * BufferView.C (Dispatch): added.
15859
15860         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15861         functions which needs to use a LyXText over from LyXFunc.
15862         (MenuInsertLyXFile): added
15863         (getInsetByCode): added
15864         (moveCursorUpdate): added
15865         (static TEXT): added
15866
15867 2001-02-22  Juergen Vigna  <jug@sad.it>
15868
15869         * BufferView_pimpl.C (update): call a status update to see if LyXText
15870         needs it.
15871
15872 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15873
15874         * vc-backend.C (revert): implement for CVS
15875         (getLog): implement for CVS
15876
15877 2001-02-20  Juergen Vigna  <jug@sad.it>
15878
15879         * text2.C (ClearSelection): added BufferView param for inset_owner call
15880
15881         * lyxfunc.C (TEXT): added this function and use it instead of
15882         directly owner->view()-text of getLyXText().
15883
15884 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15885
15886         * src/layout_forms.C: out preamble
15887         * src/layout_forms.h: out preamble
15888         * src/lyx_cb.C: out preamble
15889         * src/lyx_cb.h: out preamble
15890         * src/lyx_gui.C: out preamble
15891         * src/lyx_gui_misc.C: out preamble
15892         * src/lyxfunc.C: connect with guii preamble
15893
15894 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15895
15896         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15897
15898 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15899
15900         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15901         whether to run bibtex.
15902
15903 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15904
15905         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15906
15907 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15908
15909         * Makefile.am (lyx_SOURCES): removed bibforms.h
15910
15911         * vspace.h: doxygen
15912
15913         * text.C (GetVisibleRow): make several local vars const
15914
15915         * tabular.C: small cleanup.
15916
15917         * lyxserver.C (callback): use compare instead of strncmp
15918
15919         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15920         inlines to after class or to paragraph.C
15921
15922         * lyxfont.h: remove friend operator!=
15923
15924         * converter.h: move friend bool operator< to non friend and after
15925         class def.
15926
15927         * combox.h: small cleanup
15928
15929         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15930         to inlines after class def.
15931
15932         * buffer.C (pop_tag): use string operations instead of strcmp
15933
15934         * bmtable.c: doxygen, small cleanup
15935
15936         * LaTeX.h: remove friend operator==
15937
15938 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15939
15940         * screen.C:
15941         * lyxrc.[Ch]:
15942         * lyxfunc.C:
15943         * lyxfont.[Ch]:
15944         * lyx_cb.C:
15945         * intl.[Ch]:
15946         * commandtags.h:
15947         * buffer.C:
15948         * WorkArea.[Ch]:
15949         * LyXAction.C:
15950         * BufferView_pimpl.C:
15951         * BufferView.[Ch]: remove cruft
15952
15953 2001-02-14  Juergen Vigna  <jug@sad.it>
15954
15955         * lyxfunc.C: removed #if 0 unused code
15956
15957         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15958
15959         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15960
15961         * text2.C (SetSelection): added a BufferView * parameter
15962
15963 2001-02-13  Juergen Vigna  <jug@sad.it>
15964
15965         * lyxfunc.C (Dispatch): fixed protected blank problem.
15966         * BufferView2.C (protectedBlank): added LyxText * parameter.
15967
15968         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15969         (AppendColumn): same as above for column_info.
15970
15971         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15972         (moveCursorUpdate): use a LyXText param for support of InsetText.
15973
15974         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15975         (tripleClick): ditto
15976
15977         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15978
15979         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15980
15981         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15982
15983         * text2.C (SetSelection): set correct update status if inset_owner
15984         (ToggleFree): ditto
15985
15986 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15987
15988         * tabular.C: remove some commented code.
15989
15990 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15991
15992         * BufferView_pimpl.C: call hideSplash()
15993
15994         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15995
15996         * include_form.h:
15997         * bibforms.h: remove
15998
15999         * lyxfunc.C:
16000         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16001           add LFUN_CHILD_CREATE
16002
16003         * counters.h: fix tiny typo
16004
16005         * lyx_cb.C:
16006         * lyx.h:
16007         * lyx_gui.C:
16008         * lyx.C: move splash to frontends/xforms/
16009
16010         * lyx_gui_misc.C: move Include and Bibform to frontends
16011
16012         * lyxvc.h: clarify comment
16013
16014         * vspace.C: tiny housekeeping
16015
16016 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16017
16018         * text.C (PrepareToPrint): RTL Fix.
16019
16020         * paragraph.C (GetUChar): New method.
16021         (String):  Use GetUChar.
16022
16023         * buffer.C (asciiParagraph): Use GetUChar.
16024
16025 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16026
16027         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16028
16029 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16030
16031         * buffer.h:
16032         * buffer.C: rename to getLogName(), handle
16033           build log / latex log nicely
16034
16035 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16036
16037         * MenuBackend.C:
16038         * MenuBackend.h: remove support for reference menuitem type.
16039
16040 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16041
16042         * BufferView_pimpl.C: housekeeping
16043         * BufferView_pimpl.h:
16044         * LyXView.h:
16045         * Makefile.am:
16046         * Timeout.C:
16047         * Timeout.h:
16048         * minibuffer.h: move Timeout GUI-I
16049
16050 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16051
16052         * lyxrc.C (read): Update converters data-structures.
16053
16054 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16055
16056         * LaTeX.h (operator!=): add operator != for Aux_Info
16057
16058 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16059
16060         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16061
16062         * LaTeXLog.C: deleted, useful code moved to Buffer
16063
16064         * buffer.h:
16065         * buffer.C: new function getLatexLogName()
16066
16067         * lyx_gui_misc.C:
16068         * lyx_gui.C:
16069         * lyxvc.C:
16070         * lyxvc.h:
16071         * lyxfunc.C: use frontends for LaTeX and VC logs
16072
16073 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16074
16075         * LaTeX.h: yet another std:: that Allan forgot.
16076
16077         * Variables.C (set): renamed from isset(), because this clashes
16078         with some HP-UX macros (grr).
16079
16080 2001-02-06  Allan Rae  <rae@lyx.org>
16081
16082         * LaTeX.h: Another bug fix.  Missing std:: this time.
16083
16084 2001-02-04  Allan Rae  <rae@lyx.org>
16085
16086         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16087         floats problem. I've left it commented out because it's not quite
16088         correct.  It should also test that the current object is a table or
16089         figure inset.  But I haven't gotten around to figuring out how to do
16090         that.  I *think* it'll be something like: "table" == inset.type()
16091
16092         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16093         bool.
16094
16095 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16096
16097         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16098         all the citation/databases/styles in the auxilary file.
16099         (run): Rerun latex if there was a babel language error.
16100
16101 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16102
16103         * text.C (Backspace): Preserve the font when changing newline char
16104         with a space.
16105         (BreakParagraph): If the cursor is before a space, delete the space.
16106
16107         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16108
16109 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16110
16111         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16112         new argument (code).
16113         (ChangeCitationsIfUnique): New method.
16114
16115         * paragraph.C (GetPositionOfInset): Handle bibkey.
16116
16117 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16118
16119         * BufferView_pimpl.h: change type of Position::par_pos to
16120         LyXParagraph::size_type.
16121
16122 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16123
16124         * BufferView_pimpl.C (savePosition, restorePosition): Write
16125         messages to minibuffer.
16126
16127 2001-01-28  José Matos  <jamatos@fep.up.pt>
16128
16129         * buffer.C (makeDocBookFile): adds support for document language.
16130         A silly restriction on the name of LatexCommand types where removed.
16131         Added support for CDATA sections, allows to chars unescaped, used
16132         among others in code, to avoid escape < and >.
16133
16134 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16135
16136         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16137         saved positions instrad of a stack. Furthermore, a position is
16138         stored using paragraph id/paragraph position.
16139
16140         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16141         Remove LFUN_REF_BACK.
16142
16143 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16144
16145         * converter.C (dvipdfm_options): New method.
16146
16147 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16148
16149         * vspace.C (isValidLength): Fix for empty input string.
16150
16151 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16152
16153         * LyXAction.C (init): change description of LFUN_FIGURE to
16154         "Insert Graphics"
16155
16156 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16157
16158         * LaTeX.C: add using directive
16159
16160 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16161
16162         * MenuBackend.C (expand): Fix the sorting of the formats.
16163
16164 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16165
16166         * lyx_main.C: tiny error message fix
16167
16168 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16169
16170         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16171         calling fl_initialize(). This fixes the problem with ',' as
16172         decimal separator in text files.
16173
16174 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16175
16176         * trans.C (process): Fix the keymap bug.
16177
16178 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16179
16180         * LaTeX.C (scanAuxFiles): New method. Provides support for
16181         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16182         (scanLogFile) Scan for "run BibTeX" messages.
16183
16184         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16185         OT1 font encoding. Also, load the aecompl package if the ae
16186         package is loaded.
16187
16188         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16189
16190 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16191
16192         * texrow.C (increasePos): turn two error messages into debug
16193         messages.
16194
16195 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16196
16197         * LaTeX.C (scanAux): Handle the \@input macro.
16198         (runBibTeX): Use scanAux().
16199
16200         * language.C (latex_options_): New field.
16201
16202         * LaTeXFeatures.C (getMacros): Add language macros.
16203
16204         * buffer.C (makeLaTeXFile): Small fix.
16205
16206 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16207
16208         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16209
16210         * text2.C: add a using directive.
16211
16212 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16213
16214         * BufferView2.C:
16215         * lyx_gui_misc.h:
16216         * lyxfr1.C:
16217         * lyxfunc.C: kill LyXBell.
16218
16219 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16220
16221         * text.C (IsBoundary): Remove the error message
16222
16223         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16224
16225         * lyxrc.C (setDefaults): Correct initialization value for
16226         font_norm_type.
16227
16228 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16229
16230         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16231         gotoError().
16232
16233         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16234         and GotoNextNote().
16235
16236         * src/LyXAction.C: Added reference-next.
16237
16238         * text.C (InsertChar): Use contains instead of strchr.
16239
16240         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16241
16242 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16243
16244         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16245         alignment commands (when needed).
16246
16247         * text.C (InsertChar): Add ':' to number separator chars.