]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Get rid of FileInfo::getNumberofLinks().
[lyx.git] / src / ChangeLog
1 2004-12-14  Angus Leeming  <leeming@lyx.org>
2
3         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
4
5         * bufferlist.C (emergencyWrite):
6         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
7         GetEnvPath("HOME").
8
9 2004-12-14  Angus Leeming  <leeming@lyx.org>
10
11         * main.C: (main): no longer pass pointers to os::init.
12
13 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
14
15         * undo.C (textUndoOrRedo): simplify logic, fix a crash
16         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
17
18 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
19
20         * lyxfunc.C: 
21         * text3.C: remove selection_possible global flag
22
23 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
24
25         * text2.C (getSelectionSpan): remove
26         (changeDepth, changeDepthAllowed): adjust
27
28 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
29
30         * Makefile.am (BOOST_LIBS): use boost variables
31
32 2004-12-03  José Matos <jamatos@lyx.org>
33
34         * buffer.C: format up to 238.
35
36 2004-12-03  José Matos  <jamatos@lyx.org>
37
38         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
39
40 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
41
42         * cursor.C (goUpDown): remove call to idxUpDown2
43
44 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
45
46         * tabular.[Ch]: use size_t-like types for cell, row and column
47         indices
48
49 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
50
51         * lyxfunc.C (getStatus): do not lose previous information when
52         calling BufferView::getStatus; do not set a default "Command
53         disabled" message at the beginning, but just before returning.
54
55 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
56
57         * cursor.h (getStatus): add better comment from src/cursor.C
58
59 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         * text3.C (getStatus): return false when the lfun is not handled
62
63 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * broken_headers.h: remove
66
67         * Makefile.am (lyx_SOURCES): remove broken_headers.h
68
69 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
70
71         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
72         offset_ref accessors
73
74         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
75         top_y_, merge fitcursor with update
76         (updateScrollbar, scrollDocView, fitCursor, center, update): new
77         coord scheme
78         (metrics): introduce
79         (workAreaDispatch): adapt to new coord scheme
80         (redoCurrentBuffer): remove
81
82         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
83
84         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
85         CurStatus enum.
86
87         * coordcache.[Ch]: add paragraph cache and helpers
88
89         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
90         adjust everywhere
91
92         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
93         (targetX, setTargetX): introduce
94
95         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
96         baseline -> ascent, as the rest of lyx
97
98         * lyxtext.h: remove redoParagraphs, updateParPositions,
99         fullRebreak, redoParagraphInternal. move dist to anon namespace in
100         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
101         have ascent/descent (ascent is ascent of first par)
102
103         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
104         step of BufferView
105
106         * paragraph.[Ch]: unify dimension handling with the rest of lyx
107
108         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
109
110         * pariterator.C: fix infinite loop introduced in par->pit renaming
111
112         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
113         in insets and LyXText, draw two off-screen paragraphs using
114         NullPainter, and adapt to new coord scheme
115
116         * text.C:
117         * text2.C:
118         * text3.C: adapt lfun handlers to the new coord scheme, which
119         means: there's only guaranteed coord information for onscreen pars
120         plus one above and one below. This implies that one can do search
121         from y coordinates in the range [-1,workHeight]
122
123 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
124
125         * rename a lot of InsetOld to InsetBase
126
127 2004-11-25  Angus Leeming  <leeming@lyx.org>
128
129         * BufferView_pimpl.C:
130         * lyx_cb.C:
131         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
132
133 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
136         call BufferView::getStatus if LCursor::getStatus did nothing
137         (setStatusMessage, getStatusMessage): removed.
138
139         * FuncStatus.C (message): new methods. Used to provide an error
140         message indicating why a command is disabled.
141         (clear, |=, FuncStatus): update for message.
142
143 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
144
145         * lyxfunc.C (dispatch): always call sendDispatchMessage
146
147 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
148
149         * BufferView.C:
150         * BufferView_pimpl.C:
151         * CutAndPaste.C:
152         * FontIterator.C:
153         * buffer.C:
154         * cursor.C:
155         * cursor_slice.[Ch]:
156         * dociterator.[Ch]:
157         * lyxfind.C:
158         * paragraph_funcs.C:
159         * pariterator.C:
160         * rowpainter.C:
161         * text.C:
162         * text2.C:
163         * text3.C:
164         * undo.C: par->pit renaming
165
166 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
167
168         * tabular.C (cellstruct): use initialization, store a shared_ptr
169         to insettext instead of the insettext directly, adjust to fit.
170         (operator=):  new function
171         (swap): new function
172         (rowstruct): use initialization
173         (columnstruct): use initialization
174         (ltType): use initialization
175
176
177         * lyxlength.h (swap): new function
178
179         * LColor.[Ch] (operator=): use the common semantics
180
181 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * lyxfind.C (findNextChange): update the bufferview after setting
184         the selection.
185
186 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
189         number of InsetOptArgs has already been inserted.
190
191         * output_latex.C (latexOptArgInsets): new method. This outputs all
192         the optarg insets, up to the limit defined in the layout file.
193         (optArgInset): removed
194         (TeXOnePar): call latexOptArgInsets; correctly update texrow
195
196 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
197
198         * paragraph.C (isLetter): remove special spellchecker-related
199         code; return true also for digits
200         (isWord, isKomma): remove
201
202         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
203         * lyxfind.C (MatchString()): use isLetter instead of isWord
204
205 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
206
207         * pariterator.h (operatir=): comment out un-implemented member
208         function.
209
210         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
211         static cast.
212
213 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
214
215         * lyxfont.h: include LColor.h to satisfy concept checks.
216
217 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
218
219         * pariterator.h: add typdefs for value_type, difference_type,
220         pointer and reference to satisfy concept checks. Also add default
221         constructor for same reason.
222
223         * pariterator.C (operator++): add post-increment operator to
224         satisfy concept checks.
225
226         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
227         checks.
228
229         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
230
231         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
232         checks. Also rename base_type to BaseType to follow naming
233         standard better.
234
235         * FloatList.h: include Floating.h to satisfy concept checks.
236
237 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * lyxfunc.C (getStatus): when the origin of the request is menu or
240         toolbar, and the LyXView does not have focus, do as if there was
241         no buffer (bug 1720)
242
243         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
244         FuncRequest to individual entries of LFUN_SEQUENCE
245
246 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * output_latex.C (TeXOnePar): override runparams.moving_arg
249         according to the needprotect value of the current paragraph (bug
250         1739)
251
252         * paragraph.C (simpleTeXOnePar): no need to override
253         runparams.moving_args here
254
255 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
256
257         * vspace.C: fix off-by-one-error, related to fix #1682
258
259 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
260
261         * lengthcommon.C: a more general fix for bug 1682
262
263 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
264
265         * text.C (backspace): fix crash
266
267 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
268
269         * format.[Ch] (getFormatFromFile): new method
270         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
271
272 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
275
276 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
277
278         * lyxfunc.C (dispatch): remove the verbose argument
279         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
280         instead
281
282         * kbmap.C (defkey): set the origin of func to KEYBOARD
283
284         * MenuBackend.C (MenuItem):
285         * ToolbarBackend.C (add): set the origin of func to UI
286
287         * funcrequest.[Ch]: add origin member, which indicates which part
288         of LyX requests an action
289
290 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
291
292         * converter.C (move): don't lie in the error message
293         * converter.h (isReachable, move): document
294
295 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
296
297         * buffer.C: remove unused using lyx::support::atoi
298         * paragraph_funcs.C: ditto
299
300 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
301
302         * bufferlist.C (exists): use bind and equal_to instead of
303         compare_memfun
304         (getBuffer): ditto
305         * lyxtextclasslist.C (NumberOfClass): ditto
306
307         * cursor.C (insert): use for_each instead of explicit for loop
308
309         * bufferlist.C (getFileNames): use std::transform and
310         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
311
312         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
313         for loop
314
315         * buffer.C (changeLanguage): use for_each instead of explicit for
316         loop
317         (hasParWithID): implement using getParFromID
318
319         * LaTeXFeatures.C: ws change only
320
321         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
322         to cleanup a bit.
323
324         * BufferView_pimpl.C (trackChanges): use for_each instead of
325         expilicit for loop
326
327 2004-11-04  André Pönitz  <poenitz@gmx.net>
328
329         * undo.h:
330         * undo.C (textUndoOrRedo): fix crash when creating undo information.
331
332         * dociterator.C (asDocIterator): use hard assert again.
333
334 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * lyxlength.C (asLatexString): rewrite so that it does not use
337         snprintf anymore
338
339 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
340
341         * text3.C (specialChar, dispatch): make sure cursor moves to the
342         right after inserting an inset
343
344 2004-11-02  José Matos  <jamatos@lyx.org>
345
346         * output_docbook.C (docbook):
347         * paragraph.C (getID):
348         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
349         garantee that the output is always legal.
350
351         * tabular.C (docbook):
352         * outputprams.[Ch]: remove mixed contents.
353
354 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
355
356         * text2.C (setCounter): prevent endless loop
357
358 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
359
360         * exporter.C (copyFile): use the mover instead of support::copy()
361         * exporter.C (Export): pass format and latex name to copyFile()
362         * exporter.h (addExternalFile): document
363         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
364
365 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
366
367         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
368
369 2004-10-30  José Matos  <jamatos@lyx.org>
370
371         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
372         text and no inset or font change. This allows to use CDATA
373         sections just for the whole paragraph.
374
375 2004-10-30  José Matos  <jamatos@lyx.org>
376
377         * paragraph.C (getFirstWord): remove unused variable.
378
379 2004-10-30  José Matos  <jamatos@lyx.org>
380
381         * paragraph.C (getFirstWord): the content should always be escaped
382         there.
383         (simpleDocBookOnePar):
384         * output_docbook.C (makeEnvironment): replace reference to CDATA
385         to style pass_thru.
386
387 2004-10-30  José Matos  <jamatos@lyx.org>
388
389         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
390
391 2004-10-30  José Matos  <jamatos@lyx.org>
392
393         * output_docbook.C (makeParagraphs):
394         * paragraph.[Ch] (emptyTag): for docbook and company, if the
395         standard paragraph has only a given type of content drop the wrapper.
396
397 2004-10-29  José Matos  <jamatos@lyx.org>
398
399         * output_docbook.C (makeEnvironment):
400         * sgml.C (openTag):
401         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
402
403 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
404
405         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
406         (cleanID): sanitize any id.
407
408 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
409
410         * buffer.C, lyxlex_pimpl.C:
411         * lyxlex_pimpl.C (setFile):
412         s/getExtFromContents/getFormatFromContents/
413
414 2004-10-28  José Matos  <jamatos@lyx.org>
415
416         * output_docbook.C (makeEnvironment): move id to broadest possible
417         scope.
418
419         * sgml.C (openTag): apply substitution of <> for all attributes.
420
421 2004-10-28  José Matos  <jamatos@lyx.org>
422
423         * buffer.C (makeLinuxDocFile, makeDocBookFile):
424         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
425         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
426
427         * sgml.[Ch]: new version for open and closeTag for paragraph and
428         for strings. Now they handle the ids of paragraphs.
429
430 2004-10-26  Angus Leeming  <leeming@lyx.org>
431
432         * Makefile.am: add mover.[Ch].
433
434         * converter.C (convert, move): use the new Movers to move external
435         files to the temp directory.
436
437         * lyx_main.C (init): ensure that the global system_movers data
438         is initialised.
439
440         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
441         preferences file.
442
443         * mover.[Ch]: new files, defining a Mover as a utility to move an
444         external file between directories and, if necessary, manipulate this
445         file using a helper script.
446
447 2004-10-25  José Matos  <jamatos@lyx.org>
448
449         * output_docbook.C (makeCommand): merge two if's that tested the
450         same condition.
451
452 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * sgml.C (escapeString): fix warning in a better way
455
456 2004-10-25  José Matos  <jamatos@lyx.org>
457
458         * sgml.C (escapeString): import the require boosts header file for
459         tie, and avoid a signed unsigned comparison.
460
461 2004-10-25  José Matos  <jamatos@lyx.org>
462
463         * sgml.h: add #include <string>
464
465 2004-10-25  José Matos  <jamatos@lyx.org>
466
467         * sgml.[Ch] (escapeString): new function to escape all the string.
468
469 2004-10-24  José Matos  <jamatos@lyx.org>
470
471         * paragraph.[Ch] (getFirstWord): new function to get the first
472         word. Useful for description.
473         (simpleDocBookOnePar): remove depth argument, add another that
474         says where to start the paragraph.
475
476         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
477         use the new functions to fix cleanly the support for descriptions.
478
479 2004-10-24  José Matos  <jamatos@lyx.org>
480
481         * buffer.C (makeLinuxDocFile, makeDocBookFile):
482         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
483         * output_linuxdoc.C (linuxdocParagraphs):
484         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
485         add buffer as argument.
486
487 2004-10-24  José Matos  <jamatos@lyx.org>
488
489         * output_docbook.C (makeEnvironment, searchEnvironment): place
490         CDATA inside paragraphs and fix scope for listitems.
491
492 2004-10-24  José Matos  <jamatos@lyx.org>
493
494         * output_docbook.C: remove using statement for stack.
495
496 2004-10-23  José Matos  <jamatos@lyx.org>
497
498         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
499         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
500         docbook. The new scheme is recursive and makes use of iterators, the
501         same as latex export works.
502         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
503         directly with the paragraph contents. This code was moved up to
504         output_docbook.C (docbookParagraphs).
505         * sgml.C (openTag, closeTag): removed unneeded newlines.
506         (closeEnvTags) removed.
507
508 2004-10-23  André Pönitz  <poenitz@gmx.net>
509
510         * undo.C (textUndoOrRedo):
511         * dociterator.C (asDocIterator): work around crash
512
513         * cursor.C (getStatus): replace ASSERT by more verbose error message
514           and manual correction of the problem. Should increase stability
515           while providing more sensible information.
516
517 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
518
519         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
520
521         * bufferlist.C (previous, next): new methods
522
523         * lfuns.h:
524         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
525
526 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
527
528         * buffer.C (makeDocBookFile): add dsssl stylesheet control
529         entities to preamble.
530
531 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
532
533         * messages.C (Pimpl): strip off translation context information
534
535 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
536
537         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
538         the cursor is correct (bug 1694)
539
540 2004-10-13  José Matos  <jamatos@lyx.org>
541
542         * output_docbook.C (docbookParagraphs): fix closing tags in the
543         end of the document.
544
545 2004-10-09  José Matos  <jamatos@lyx.org>
546
547         * buffer.C: format up to 237.
548         * bufferparams.C (write): use tostr to convert booleans to strings.
549
550 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
551
552         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
553
554 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
555
556         * LaTeX.C: implement use of babel language in xindy.
557
558 2004-10-05  José Matos  <jamatos@lyx.org>
559
560         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
561         Add new translators to help reading and writing the lyx file.
562
563 2004-10-05  José Matos  <jamatos@lyx.org>
564
565         * ParagraphParameters.C (read):
566         * text.C (readParToken): replace nexToken by more appropriate lex
567         methods.
568
569 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
570
571         * LaTeX.C (runMakeIndex):
572         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
573         (usually 'makeindex') configurable.
574
575         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
576         with a variable rather than with a number.
577
578 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * output_latex.C (TeXOnePar): make sure font setting is the first
581         thing that gets output (and the last at the end). Should fix bug
582         1404.
583
584 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
585
586         * pch.h: use proper signal include
587
588         * LaTeX.h: Use preferred calling of Boost.Signal
589         * buffer.h: ditto
590
591 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
592
593         * pch.h: dont include <boost/function/function0.hpp>
594
595         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
596
597         * paragraph_pimpl.h: remove usage of ShareContainer
598
599         * paragraph_pimpl.C: remove initialization of ShareContainer.
600
601 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         Fix bug #1666
604
605         * BufferView.C (putSelectionAt): change the semantics when
606         backwards == true: now, this just swaps cursor and anchor wrt the
607         forward case
608
609         * BufferView.h (putSelectionAt): add some documentation
610
611         * lyxfind.C (findBackwards): rewrite using while(). In particular,
612         make sure backwardChar is done at least once (to avoid getting
613         stuck)
614         (findNextChange): use putSelectionAt in the forward direction
615         (operator()): use Paragraph::isWord
616
617 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
618
619         * Spacing.C (set): c_str fix
620
621 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
622
623         * lyx_cb.C (Reconfigure): quote the name of configure script in
624         case it contains spaces
625
626 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
627
628         * client: new dir
629
630         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
631         (BOOST_LIBS): use top_buildir when looking for the file
632
633 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
634
635         * pch.h: do not use include boost/format.hpp, multiple symbols
636                 will result (gcc bug)
637
638
639 2004-08-23  José Matos  <jamatos@lyx.org>
640
641         * bufferparams.C (readToken): fix reading of the author field.
642
643 2004-08-20  José Matos  <jamatos@lyx.org>
644
645         * lyxrc.C: remove support/translator.h inclusion since it is not used.
646
647 2004-08-20  José Matos  <jamatos@lyx.org>
648
649         * lyxlex.[Ch] (findToken): remove function.
650
651         * ParagraphParameters.C (findToken):
652         * bufferparams.C (findToken): replace call for previous function
653         with local copy. This local function has one more argument, the
654         read string argument.
655
656 2004-08-16  José Matos  <jamatos@lyx.org>
657
658         * ParagraphParameters.C (write):
659         * Spacing.C (writeFile):
660         * bufferparams.C (writeLaTeX):
661         * lyx_cb.C (Reconfigure):
662         * paragraph.C (write):
663         * tabular.C (write): remove unnecessary space at end of line.
664
665
666 2004-08-16  José Matos  <jamatos@lyx.org>
667
668         * text.C (readParagraph): remove debug message.
669
670 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
671
672         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
673         crash
674
675         * output_plaintext.C (asciiParagraph): set depth correctly
676
677         * outputparams.h: add member depth
678
679         * paragraph_funcs.C (ownerPar): remove.
680
681         * text2.C (setCounter): remove first_pit; comment out some
682         non-working code that uses ownerPar
683
684         * BufferView.C (getParentLanguage): remove. Not used anymore, and
685         uses ownerPar
686
687 2004-08-16  José Matos  <jamatos@lyx.org>
688
689         * text.C (readParToken, readParagraph, read): report all unknown tokens.
690         For the same level of importance use the same chanel to report problems.
691         (read): add code to deal with \begin_body and \end_body.
692
693
694 2004-08-15  José Matos  <jamatos@lyx.org>
695
696         * lyxlex.C (getString): fix comment, buffer::readBody is now
697         buffer:readDocument.
698
699         * tex-strings.C (string_papersize): Default -> default,
700         Custom -> custom, for consistency with other options.
701
702 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
703
704         * pch.h: new file
705
706         * Makefile.am: support pch
707
708 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
709
710         * text.C (readParToken): remove the static LyXFont variable and
711         pass it as a parameter instead. This fixes a nasty bug where an
712         inset will be inserted with a bad font in some situations
713         (readParagraph): adapt
714
715         * text2.C (setCounter): reduce number of calls to pars_[pit]
716
717         * text.C (singleWidth): add an assert, fix a test
718
719         * rowpainter.C (paintText): reduce number of calls to singleWidth
720
721         * paragraph.C (isHfill):
722         (isNewline): ws only
723
724 2004-08-14  André Pönitz  <poenitz@gmx.net>
725
726         * text.C:
727         * text2.C:
728         * rowpainter.C:
729         * lyxtext.h (several functions): use a Paragraph & argument
730         instead of par_type
731
732 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
733
734         * metricsinfo.h: add a new field ltr_pos to PainterInfo
735
736         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
737
738         * text.C (singleWidth): remove useless test
739
740 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
741
742         * tabular.h: remove bogus comments
743
744         * tabular.C (getDescentOfRow):
745         (isPartOfMultiColumn): add assertions
746
747         * lyxlength.C (inPixels): remove #warning
748
749 2004-08-14  André Pönitz  <poenitz@gmx.net>
750
751         * paragraph.h: inline getChar()
752
753         * BufferView.h: remove unused declarations
754
755 2004-08-14  José Matos  <jamatos@lyx.org>
756
757         * Buffer.[Ch] (readDocument): new name for old readBody.
758         * Buffer.C: new file format, new keywords: \begin_document,
759         \begin_header, \begin_body, \end_body.
760
761         * bufferparams.C (readToken): replace all calls to lex.nextToken
762         by lex.next(). Do the same to eatLine except where really needed.
763
764         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
765         line when writing to the lyx file.
766
767         * output_plaintext.C (asciiParagraph): fix Bibliography style
768         handling.
769
770         * text.C (read): fix end of file handling.
771
772 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
773
774         * MenuBackend.C (Menu::operator[]): new method to access
775         individual menu items
776         (Menu::hasFunc): new method. search for an item that corresponds
777         to a given func
778         (MenuBackend::specialMenu): new method
779         (MenuBackend::expand): if a special menu has been set, skip
780         entries whose func() appears in this menu
781
782 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
783
784         * text3.C: use Debug::DEBUG a bit more
785
786         * text.C (leftMargin): try to simplify a tiny bit change var x to
787         l_margin. Dont output the wide margins always.
788         (rightMargin): no margin in inner texts
789
790         * rowpainter.h (nestMargin): new func
791         (changebarMargin): new func
792         (rightMargin): new func
793
794         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
795         now functions.
796         (paintLast): ditto
797
798         * factory.C (createInset): modify setDrawFrame
799
800         * cursor.C: use Debug::DEBUG a bit more
801
802 2004-08-14  André Pönitz  <poenitz@gmx.net>
803
804         * coordcache.[Ch]:
805         * Makefile.am: new files to accomodate an 'external' (x,y)-position
806         cache for all insets in (at least partially) visible (top-level)
807         paragraphs.
808
809         * BufferView_pimpl.C: reset external coord cache before every update.
810         This means the coord cache only contains valid entries.
811
812 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
813
814         bug 1096
815         * BufferView_pimpl.C (getInsetByCode): move function out of class
816         and change in to a template in anon namespace. Also fix to do what
817         suits us better.
818
819 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
820
821         bug 1305
822         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
823         of char
824         (breakParagraph): rename par to par_offset and use a local
825         reference. Add code to keep the language over a rebreak.
826         (breakParagraphConservative): rename par to par_offset, use a
827         local reference
828         (mergeParagraph): ditto
829         (outerHook): ditto
830         (isFirstInSequence): ditto
831         (outerFont): rename pit to par_offset
832
833         * paragraph.C: ws change
834         * paragraph.h: ditto
835         * text3.C: ditto
836         * text.C: ditto
837
838 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
839
840         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
841         treatment for ']'
842
843         * paragraph.C (simpleTeXOnePar): when we have a \item with
844         optional argument, enclose the argument with curly brackets (in
845         case it contains a closing square bracket)
846
847         * text2.C (editXY):
848         * text2.C (editXY):
849         * text3.C (checkInsetHit): constify
850
851 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
852
853         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
854         documents (bug 1629)
855
856 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
857
858         Fix toggling of collapsable insets with the mouse (bug 1558)
859
860         * lyxfunc.C (dispatch): adapt to LCursor changes
861
862         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
863         make sure that dispatch is not invoked twice
864
865         * cursor.C (needsUpdate): new method
866         (dispatch): return void
867         (result): new method, to access the DispatchResult of the cursor.
868
869 2004-08-13  José Matos  <jamatos@lyx.org>
870
871         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
872
873 2004-08-13  André Pönitz  <poenitz@gmx.net>
874
875         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
876
877         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
878           multiple cells
879
880 2004-08-12  André Pönitz  <poenitz@gmx.net>
881
882         * text3.C: take out the 'cursor right' form insertInset and only
883         do it in those places when it is really needed. Fixes crash on
884         C-m...
885
886 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
887
888         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
889
890         * BufferView_pimpl.C (setBuffer): initialize the current font of
891         the underlying LyXText
892
893 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         * kbsequence.C (print): use UI native formatting for menu
896         shortcuts
897
898         * text.C (insertChar): call Paragraph::insertChar with a font
899         argument (cosmetic)
900
901         * paragraph.C (insertInset, insertChar): the version that takes a
902         LyXFont argument is now a wrapper around the other one (the
903         opposite used to be true).
904
905         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
906         argument. Font setting is done in Paragraph now.
907
908 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * outputparams.h: add new members intitle and lang.
911
912         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
913         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
914
915 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
916
917         * text3.C (dispatch): remove special handling of button 4 and 5,
918         it is now taken care of in the frontend code.
919
920 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
921
922         * Spacing.h: add <string> (STLPort compile fix)
923
924 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
925
926         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
927
928 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
929
930         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
931         to bool.
932
933         * converter.C (showMessage): inherit from unary_function, make
934         operator() const.
935
936         * buffer.C (writeFile): initialize retval
937
938         * InsetList.h: rename private variable list to list_
939         * InsetList.[Ch]: adjust accordingly.
940
941 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
942
943         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
944         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
945         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
946         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
947         * ParagraphParameters.C, LaTeXFeatures.C: replace
948         "support/std_sstream.h" with <sstream>
949
950 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
951
952         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
953         * lyxsocket.C (LyXServerSocket): ditto
954         (serverCallback): ditto
955
956 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
957
958         * LaTeXFeatures.C: check release date when loading jurabib.
959
960 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
961
962         * lyxserver.C (startPipe): call register_socket_callback
963         (endPipe): call unregister_socket_callback
964
965 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
966
967         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
968         (LyXServerSocket): register the callback
969         (LyXServerSocket): unregister the callback
970         (fd): delete function
971         (serverCallback): improve error checking and setup the callbacks.
972         (dataCallback): change arg to fd.
973         (writeln): new func (copied fro the client socket) used for server
974         write to client.
975         (LyXDataSocket): simplify
976         (~LyXDataSocket): close ann unregiser callback
977         (server): delete function
978         (fd): delete function
979         (readln): small changes, improve some std::string usage
980         (writeln): constify a bit
981
982 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
983
984         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
985         Qt frontend
986
987 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
988
989         * BufferView_pimpl.C (setBuffer): set the layout combox value only
990         after it has been populated
991
992 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
993
994         * text2.C (insertInset): move cursor when inserting inset.
995
996 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
997
998         * kbmap.C (findbindings): a couple of new methods. returns a
999         container of kb_sequence objects. The real work is done by the
1000         private recursive version
1001         (printbindings): uses findbindings to print out a bracketed list
1002         of bindings (renamed from findbinding).
1003
1004         * MenuBackend.C (binding): use kb_keymap::findbindings
1005
1006         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1007
1008 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1009
1010         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1011
1012 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         * paragraph.C (isWord): return true on insets that report
1015         isLetter().
1016
1017         * text.C (getWord): use Paragraph::isWord to decide what is in a
1018         word and what is not; fix bug 1609.
1019
1020 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1021
1022         * tex-strings.C: add "none" to string_paperpackages[], fixes
1023         off-by-one-error in the paperpackage selection.
1024
1025         * lyxlex.[Ch]:
1026         * tex-strings.[Ch]: char const * string[n]
1027         -> char const * const string[]
1028
1029 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1030
1031         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1032         command, return early.
1033
1034 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1035
1036         * debug.h: add DEBUG to enum and fix size of ANY.
1037
1038         * debug.C: add support for Debug::DEBUG
1039         (showTags): cast errorTags.level to unsigned int
1040
1041         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1042         (redoCurrentBuffer): ditto
1043         (updateScrollbar): ditto
1044         * cursor.C (dispatch): ditto
1045         * text2.C (setLayout): ditto
1046         (setFont): ditto
1047         (updateCounters): ditto
1048         (editXY): ditto
1049         (deleteEmptyParagraphMechanism): ditto
1050
1051 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1052
1053         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1054         annotations to cleanup the Makefile slightly.
1055
1056 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1057
1058         * lyxrc.C: do not set user_email to a default value but use empty
1059         instead. The entry used to be translated, which does not work
1060         since at the point where lyxrc is constructed there is no
1061         translation service available
1062
1063         * messages.C (getLocaleDir): remove and use directly
1064         lyx_localedir() instead
1065
1066 2004-06-02  Angus Leeming  <leeming@lyx.org>
1067
1068         Fix crash caused by dereferencing null pointer 'exportdata' in
1069         OutputParams by creating a new ExportData variable on the heap,
1070         storing it in a boost::shared_ptr.
1071         The crash was triggered when generating an Instant Preview
1072         of an external inset.
1073
1074         * Makefile.am: add outputparams.C
1075
1076         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1077         (c-tor): allocate memory to it.
1078
1079         * exporter.C (c-tor): associated changes.
1080
1081 2004-06-01  Angus Leeming  <leeming@lyx.org>
1082
1083         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1084         contains data before calling isInset(0). (Bug 1513.)
1085
1086 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1087
1088         * exporter.C (checkOverwrite): new method
1089         * exporter.C (copyFile): new method
1090         * exporter.C (Export): copy referenced files to the document dir
1091         * exporter.[Ch]: new class ExportedFile
1092         * exporter.[Ch]: new class ExportData. Contains currently the
1093         names of referenced external files
1094         * outputparams.h: add exportdata member.
1095
1096 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1097
1098         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1099         version.C-tmp
1100
1101 2004-05-19  Angus Leeming  <leeming@lyx.org>
1102
1103         * LaTeXFeatures.C:
1104         * ToolbarBackend.C:
1105         * bufferparams.C:
1106         * lyxfunc.C: small changes due to the introduction of namespace
1107         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1108
1109 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1110
1111         * text3.C (dispatch): supress update when only moving the cursor
1112         * cursor.C (selHandle): remove commented code
1113
1114 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1115
1116         * paragraph.C (startTeXParParams): correct column count
1117         * CutAndPaste.C (pasteSelection): remove const_cast
1118         * output_docbook.C (docbookParagraphs): remove const_cast
1119         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1120         const_cast and return ParagraphList::const_iterator
1121         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1122         * output_plaintext.C (writeFileAscii): remove const_cast
1123         * paragraph.[Ch] (simpleTeXOnePar): make const
1124         * paragraph_funcs.C (outerPar): use const iterators
1125         * paragraph_pimpl.C (validate): use const iterators
1126         * text.C (setHeightOfRow): use const iterators
1127
1128 2004-05-17  Angus Leeming  <leeming@lyx.org>
1129
1130         * lfuns.h:
1131         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1132
1133         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1134         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1135         if the citation engine has changed.
1136
1137 2004-05-14  José Matos  <jamatos@lyx.org>
1138
1139         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1140         if the textclass does not provide it. Have it different for sgml and
1141         xml.
1142         support the language of document.
1143         * output_docbook.C (docbookParagraphs):
1144         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1145         first anchor as the id of the paragraph, remove special case code.
1146         * sgml.C (escapeChar): escape only < & >.
1147
1148 2004-05-14  Angus Leeming  <leeming@lyx.org>
1149
1150         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1151         dependencies on src/frontends/controllers/biblio.h. Define a
1152         CiteEngine_enum wrapper class to enable the enum to be forward
1153         declared.
1154
1155 2004-05-12  Angus Leeming  <leeming@lyx.org>
1156
1157         * buffer.C: up LYX_FORMAT to 234.
1158         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1159         use_numerical_citations with a single biblio::CiteEngine cite_engine
1160         variable.
1161         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1162
1163 2004-05-13  José Matos  <jamatos@lyx.org>
1164
1165         * converter.h:
1166         * converter.C (Converter, readFlags): add xml member.
1167         * outputparams.h: add XML flavor.
1168         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1169
1170 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * lyxfunc.C (dispatch):
1173         (getStatus): fix handling of LFUN_SEQUENCE
1174
1175 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1176
1177         * debug.C (showLevel): do not forget the end-of-line marker
1178
1179 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * kbmap.C (read): do not stop parsing a bind file when an error
1182         occurs (bug 1575)
1183
1184 2004-04-29  Angus Leeming  <leeming@lyx.org>
1185
1186         * cursor.C:
1187         * factory.C:
1188         * pariterator.C:
1189         * text2.C: wrap a bunch of #warning statements
1190         inside #ifdef WITH_WARNINGS blocks.
1191
1192 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1193
1194         * buffer.C: increment format to 233.
1195
1196 2004-04-28  Angus Leeming  <leeming@lyx.org>
1197
1198         * BufferView_pimpl.C:
1199         * lyxfunc.C:
1200         * text3.C:
1201         s/updateToolbar()/updateToolbars()/
1202         s/Toolbar.h/Toolbars.h/
1203
1204 2004-04-28  Angus Leeming  <leeming@lyx.org>
1205
1206         * BufferView.[Ch] (c-tor):
1207         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1208         No longer passes these data to the WorkArea generator.
1209
1210 2004-04-28  Angus Leeming  <leeming@lyx.org>
1211
1212         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1213
1214 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1215
1216         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1217
1218 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1219
1220         * output_latex.C (TeXEnvironment): make sure that there is a line
1221         break before \end{foo} for the last paragraph of a document
1222         (TeXOnePar): if the paragraph is at the end of the document (or
1223         inset) and the language has to be reset, then make sure that the
1224         line break is _before_ the language command, not after (fixes bug
1225         1225); also make sure that the language reset command is the first
1226         thing after the paragraph (to ensure proper nesting of
1227         environments and thus fix bug 1404)
1228
1229 2004-04-21  John Levon  <levon@movementarian.org>
1230
1231         * ToolbarBackend.h:
1232         * ToolbarBackend.C: make "name" be a programmatic name
1233         and a gui_name field.
1234
1235         * lyxfunc.C: display the minibuffer on M-x
1236
1237 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1238
1239         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1240         (bug 1526)
1241
1242 2004-04-19  Angus Leeming  <leeming@lyx.org>
1243
1244         * BufferView_pimpl.C (setBuffer): changed preview interface.
1245
1246         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1247         possible values.
1248
1249 2004-04-19  John Levon  <levon@movementarian.org>
1250
1251         * BufferView_pimpl.C:
1252         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1253
1254 2004-04-05  Angus Leeming  <leeming@lyx.org>
1255
1256         * text.C (redoParagraphs): add call to updateCounters(), thereby
1257         fixing the missing "Figure #:" label from the caption of a
1258         figure float.
1259
1260 2004-04-13  Angus Leeming  <leeming@lyx.org>
1261
1262         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1263         cursor is clicked out of an inset.
1264
1265 2004-04-13  Angus Leeming  <leeming@lyx.org>
1266
1267         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1268         than an InsetOld one.
1269
1270 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1271
1272         * format.[Ch]: add editor to Format
1273         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1274         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1275
1276 2004-04-08  André Pönitz  <poenitz@gmx.net>
1277
1278         * metricsinfo.h: remove PainterInfo::width member
1279
1280 2004-04-08  Angus Leeming  <leeming@lyx.org>
1281
1282         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1283         "\providecommand" rather than "\newcommand", thereby preventing
1284         clashes with packages that define "\boldsymbol" themselves.
1285         Eg, beamer.
1286
1287 2004-04-08  Angus Leeming  <leeming@lyx.org>
1288
1289         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1290         thereby squashing an unnecessary warning.
1291
1292 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1293
1294         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1295         setBuffer()
1296
1297 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1298
1299         * BufferView.C (setCursor): call redoParagraph (some insets could
1300         have been opened)
1301         (putSelectionAt): remove the 'double update' trick
1302
1303         * BufferView_pimpl.C (fitCursor): call refreshPar
1304         (workAreaDispatch): remove an uneeded update call
1305         (dispatch): remove some manual update calls
1306
1307         * cursor.[Ch]: remove cached_y_, updatePos
1308         (selHandle): set noUpdate when appropriate
1309
1310         * lyxfunc.C (dispatch): track if we need an update
1311
1312         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1313
1314         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1315         (paintSelection): cheap optimization, do not call cursorX when not
1316         needed
1317         (paintPars): change signature
1318         (refreshPar): add
1319         (paintText): adjust
1320         (paintTextInset): adjust
1321
1322         * text.C: adjust
1323
1324 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1325
1326         * lengthcommon.C: compilation fix: remove explicit array size from
1327         unit_name[] and friends
1328
1329 2004-04-05  Angus Leeming  <leeming@lyx.org>
1330
1331         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1332
1333         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1334         present only for the preferences dialog.
1335         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1336
1337 2004-04-05  Angus Leeming  <leeming@lyx.org>
1338
1339         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1340         to enable the frontends to export changes to lyxrc correctly.
1341
1342         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1343
1344 2004-04-07  André Pönitz  <poenitz@gmx.net>
1345
1346         * cursor.[Ch] (selClear, adjust): remove math
1347
1348         * cursor_slice.C: more agressive assert
1349
1350         * lyxfunc.C:
1351         * BufferView_pimpl.C: rework mouse event dispatch
1352
1353         * dociterator.C:
1354         * paragraph.C:
1355         * text2.C:
1356         * text3.C: adjust
1357
1358 2004-04-05  André Pönitz  <poenitz@gmx.net>
1359
1360         * cursor.[Ch] (valign, halign...): remove unneeded functions
1361
1362 2004-04-05  Angus Leeming  <leeming@lyx.org>
1363
1364         * lyxlength.[Ch] (unit_name et al.): const-correct.
1365
1366 2004-04-05  Angus Leeming  <leeming@lyx.org>
1367
1368         * BufferView_pimpl.C:
1369         * buffer.C:
1370         * counters.C:
1371         * cursor.C:
1372         * lyxfunc.C
1373         * paragraph.C:
1374         * pariterator.C:
1375         * text.C:
1376         * text2.C:
1377         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1378
1379 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1380
1381         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1382
1383 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1384
1385         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1386         * BufferView_pimpl.[Ch] (getStatus)
1387         * BufferView.[Ch] (getStatus): add
1388         * lyxfunc.C (getStatus): move lfuns handled in
1389         BufferView::dispatch to te function above
1390         * Cursor.C (setSelection): set selection() = true
1391
1392 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1395
1396 2004-03-31  Angus Leeming  <leeming@lyx.org>
1397
1398         * lyxfunc.C (dispatch): Fall through to the generic
1399         Dialogs::show("preamble").
1400
1401 2004-03-31  Angus Leeming  <leeming@lyx.org>
1402
1403         * lyxfunc.C (dispatch): Fall through to the generic
1404         Dialogs::show("spellchecker").
1405
1406 2004-03-31  Angus Leeming  <leeming@lyx.org>
1407
1408         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1409         preferences dialog.
1410
1411 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1412
1413         * BufferView.C
1414         * cursor.[Ch]
1415         * dociterator.[Ch]:
1416         * insetiterator.[Ch]:
1417         * lyxfind.C:
1418         * lyxfunc.C:
1419         * pariterator.[Ch]:
1420         * text2.C:
1421         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1422
1423 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1424
1425         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1426         insets where we are putting the cursor.
1427
1428 2004-03-31  Angus Leeming  <leeming@lyx.org>
1429
1430         * lfuns.h:
1431         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1432
1433         * lyxrc.[Ch] (read, write): overloaded member functions taking
1434         a std::[io]stream arguments.
1435
1436         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1437
1438 2004-03-31  Angus Leeming  <leeming@lyx.org>
1439
1440         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1441         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1442
1443         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1444         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1445
1446 2004-03-31  Angus Leeming  <leeming@lyx.org>
1447
1448         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1449         the LFUN_ALL_INSETS_TOGGLE code.
1450
1451 2004-03-30  Angus Leeming  <leeming@lyx.org>
1452
1453         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1454         has died. Fall through to the generic Dialogs::show("document").
1455
1456 2004-03-30  Angus Leeming  <leeming@lyx.org>
1457
1458         * lfuns.h:
1459         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1460         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1461
1462         * lyxfunc.C (getStatus, dispatch): define the actions for these
1463         lfuns. Little more than a cut and pste job from ControlDocument.C
1464
1465         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1466
1467 2004-03-30  Angus Leeming  <leeming@lyx.org>
1468
1469         * lfuns.h:
1470         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1471         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1472
1473         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1474         open/closed state of ollapsable insets. Usage:
1475
1476         all-inset-toggle <state> <name>, where
1477         <state> == "open" || "closed" || "toggle" and
1478         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1479
1480         * lyxtext.h, text2.C (toggleInset): removed.
1481
1482         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1483         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1484         now passes LFUN_INSET_TOGGLE to the found inset.
1485
1486         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1487         is now invoked as "all-insets-toggle toggle branch".
1488
1489 2004-03-30  Angus Leeming  <leeming@lyx.org>
1490
1491         * dociterator.C:
1492         * insetiterator.C:
1493         * pariterator.[Ch]: added/corrected header blurb.
1494
1495 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1496
1497         * dociterator.[Ch]: add an inset_ member
1498         (backwardPos): implemented
1499         (backwardPos, forwardPos): use inset_ when the stack is empty.
1500         (doc_iterator_begin, doc_iterator_end): implemented
1501         * pariterator.[Ch]: adjust, add begin, end
1502         * insetiterator.[Ch]: adjust, add begin, end
1503         * cursor.C:
1504         * document.C:
1505         * BufferView.C:
1506         * BufferView_pimpl.C:
1507         * CutAndPaste.C: adjust
1508
1509 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1510
1511         * buffer.C: increment file format to 232.
1512         * LaTeXFeatures.C: add bibtopic package.
1513         * bufferparams.[Ch]: param \use_bibtopic.
1514
1515         * lyxrc.[Ch]: add lyxrc bibtex_command
1516         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1517
1518         * buffer.C: increment file format to 231.
1519
1520 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1521
1522         * dociterator.C: implement forwardPar
1523         * iterators.[Ch]: remove, replaced by
1524         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1525         * BufferView.C:
1526         * BufferView_pimpl.C:
1527         * CutAndPaste.C:
1528         * buffer.C:
1529         * bufferview_funcs.C:
1530         * cursor.C:
1531         * lyxfind.C
1532         * lyxfunc.C
1533         * paragraph_funcs.C
1534         * toc.C:
1535         * Makefile.am: adjust
1536
1537 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1538
1539         * CutAndPaste.C (pasteSelection): fix 2 crashes
1540         (eraseSelection): fix a crash
1541         * paragraph_funcs.C: remove a warning
1542
1543 2004-03-28  Angus Leeming  <leeming@lyx.org>
1544
1545         * lfuns.h:
1546         * LyXAction.C (init): new LFUN_PRINT.
1547
1548         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1549
1550 2004-03-27  Angus Leeming  <leeming@lyx.org>
1551
1552         * lfuns.h:
1553         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1554
1555         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1556
1557 2004-03-27  Angus Leeming  <leeming@lyx.org>
1558
1559         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1560         insetlist always contains non-null pointers to insets.
1561
1562 2004-03-26  Angus Leeming  <leeming@lyx.org>
1563
1564         * src/BufferView_pimpl.C:
1565         * src/CutAndPaste.C:
1566         * src/buffer.C:
1567         * src/iterators.C:
1568         * src/output_plaintext.C:
1569         * src/outputparams.h:
1570         * src/paragraph_funcs.C:
1571         * src/rowpainter.C:
1572         * src/text.C:
1573         * src/text2.C:
1574         * src/frontends/controllers/ControlErrorList.C:
1575         * src/frontends/gtk/FileDialogPrivate.C:
1576         * src/frontends/gtk/GPainter.C:
1577         * src/frontends/gtk/GToolbar.C:
1578         * src/frontends/qt2/QRef.C:
1579         * src/mathed/math_scriptinset.C: squash compiler warnings.
1580
1581 2004-03-26  Angus Leeming  <leeming@lyx.org>
1582
1583         * ispell.C (LaunchIspell::start):
1584         * lyx_cb.C (AutoSaveBuffer::start):
1585         invoke run(DontWait) rather than runNonBlocking().
1586
1587 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1588
1589         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1590
1591 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1592
1593         * kbsequence.C (print): adjust
1594
1595         * kbmap.C (printKeySym): rename and change signature
1596         (printKey): use LyXKeySym::print()
1597
1598 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1599
1600         * undo.C: add using std::advance to compile for stlport
1601
1602 2004-03-24  Angus Leeming  <leeming@lyx.org>
1603
1604         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1605         it leads to a crash when no buffer is present.
1606
1607 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1608             Martin Vermeer  <martin.vermeer@hut.fi>
1609
1610         * lyxfunc.C (dispatch):
1611         * bufferparams.C (readToken): use the new LColor::setColor
1612
1613         * LColor.[Ch] (setColor): new version that takes two strings as
1614         argument and creates a new color entry if necessary
1615
1616 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1617
1618         * buffer.C (makeLaTeXFile): if the main latex file that is
1619         processed is usually a subdocument of some master, then pretend
1620         for a while that it is actually the master
1621
1622 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1623
1624         * buffer.C (getLabelList):
1625         (getBibkeyList): use getMasterBuffer()
1626         (getMasterBuffer): new method. Returns the main document in the
1627         case where one is using included documents.
1628
1629 2004-03-25  André Pönitz  <poenitz@gmx.net>
1630
1631         * Makefile.am:
1632         * iterators.[Ch]:
1633         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1634
1635         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1636
1637         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1638         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1639
1640         * ParameterStruct.h: merge with ParagraphParameters
1641
1642         * lyxtext.h: remove LyXText::parOffset() and getPar()
1643
1644         * text3.C: Remove all 'manual' update calls. We do now one per user
1645         interaction which is completely sufficient.
1646
1647         * Bidi.C:
1648         * BufferView.[Ch]:
1649         * BufferView_pimpl.C:
1650         * FontIterator.[Ch]:
1651         * MenuBackend.C:
1652         * ParagraphParameters.[Ch]:
1653         * buffer.C:
1654         * buffer.h:
1655         * bufferlist.C:
1656         * cursor.[Ch]:
1657         * cursor_slice.[Ch]:
1658         * dociterator.[Ch]:
1659         * errorlist.[Ch]:
1660         * factory.C:
1661         * lfuns.h:
1662         * lyxfind.C:
1663         * lyxfunc.C:
1664         * output_docbook.[Ch]:
1665         * output_latex.[Ch]:
1666         * output_linuxdoc.[Ch]:
1667         * output_plaintext.[Ch]:
1668         * paragraph.[Ch]:
1669         * paragraph_funcs.[Ch]:
1670         * paragraph_pimpl.[Ch]:
1671         * rowpainter.C:
1672         * tabular.[Ch]:
1673         * text.C:
1674         * text2.C:
1675         * toc.C:
1676         * undo.[Ch]: adjust
1677
1678         * frontends/controllers/ControlDocument.C:
1679         * frontends/controllers/ControlErrorList.C:
1680         * frontends/controllers/ControlSpellchecker.C:
1681         * insets/inset.C:
1682         * insets/inset.h:
1683         * insets/insetbase.h:
1684         * insets/insetbibitem.C:
1685         * insets/insetbox.C:
1686         * insets/insetbranch.C:
1687         * insets/insetcaption.C:
1688         * insets/insetcharstyle.C:
1689         * insets/insetcharstyle.h:
1690         * insets/insetcollapsable.C:
1691         * insets/insetcollapsable.h:
1692         * insets/insetert.C:
1693         * insets/insetfloat.C:
1694         * insets/insetfoot.C:
1695         * insets/insetmarginal.C:
1696         * insets/insetnote.C:
1697         * insets/insetoptarg.C:
1698         * insets/insettabular.C:
1699         * insets/insettext.C:
1700         * insets/insettext.h:
1701         * insets/insetwrap.C:
1702         * mathed/math_mboxinset.C:
1703         * mathed/math_nestinset.C:
1704         * mathed/math_scriptinset.C:
1705         * mathed/math_scriptinset.h:
1706         * support/types.h:
1707
1708 2004-03-24  Angus Leeming  <leeming@lyx.org>
1709
1710         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1711         deal with any child processes that have finished but are waiting to
1712         communicate this fact to the rest of LyX.
1713
1714 2004-03-24  Angus Leeming  <leeming@lyx.org>
1715
1716         64-bit compile fixes.
1717
1718         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1719         (c-tor): pass lyx::pos_types rather than ints.
1720
1721         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1722         lyx::pos_type.
1723
1724         * text.C (Delete): compile fix.
1725         (getPar): ensure that function declaration is the same as that in
1726         the header file.
1727
1728 2004-03-23  Angus Leeming  <leeming@lyx.org>
1729
1730         * ispell.C (LaunchIspell):
1731         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1732         a boost::shred_ptr rather than a std::auto_ptr.
1733
1734 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1735
1736         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1737         handle LFUN_FILE_INSERT_*
1738
1739         * lyxrc.C (setDefaults, getDescription, output, read):
1740         * lyxrc.h: remove ps_command
1741
1742 2004-03-22  Angus Leeming  <leeming@lyx.org>
1743
1744         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1745         Ensure that error_handler is processed once only and that all data
1746         is saved before attempting to output any warning messages.
1747
1748         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1749
1750 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1751
1752         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1753
1754 2004-03-19  André Pönitz  <poenitz@gmx.net>
1755
1756         * cursor.[Ch] (reset): take main text inset as argument
1757
1758         * BufferView: adjust
1759         * BufferView_pimpl.C: adjust
1760
1761         * paragraph.[Ch]: fix completely broken operator=()
1762
1763 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1764
1765         * LColor.C (getFromLyXName): make sure that the color name is used
1766         as lowercase.
1767
1768 2004-03-17  Angus Leeming  <leeming@lyx.org>
1769
1770         * lfuns.h:
1771         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1772
1773         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1774         dialog and to kill a forked process.
1775
1776 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1777
1778         * text2.C (setCursorFromCoordinates): fix font problem
1779
1780 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1783         bogus "rebuild cursor" code
1784
1785 2004-03-11  André Pönitz  <poenitz@gmx.net>
1786
1787         * buffer.[Ch]: use InsetText instead of LyXText as container for
1788         the main lyx text.
1789
1790         * dociterator.[Ch]: drop the BufferView * member which is not needed
1791         anymore after the change to buffer.C
1792
1793         * paragraph_funcs.C:
1794         * text.C:
1795         * text2.C:
1796         * BufferView.[Ch]:
1797         * BufferView_pimpl.[Ch]:
1798         * cursor.[Ch]:
1799         * cursor_slice.[Ch]: adjust
1800
1801         * text3.C: fix bug in mathDispatch
1802
1803 2004-03-08  André Pönitz  <poenitz@gmx.net>
1804
1805         * undo.[Ch]: use 'StableDocumentIterator' as base for
1806         the Undo struct.
1807
1808 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1809
1810         * LaTeXFeatures.C:
1811         * bufferparams.[Ch]: add jurabib support and param.
1812
1813         * LaTeX.C: add FIXME/comment.
1814
1815 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1816
1817         * buffer.C: increment file format to 230.
1818
1819 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1820
1821         * cursor.C (dispatch): avoid infinite loops
1822
1823 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1824
1825         * rowpainter.C (paintSelection): fix x coordinates
1826
1827 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1828
1829         * text.C (rowBreakPoint): fix breaking before displayed insets
1830
1831 2004-03-01  André Pönitz  <poenitz@gmx.net>
1832
1833         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1834
1835         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1836
1837         * Makefile.am:
1838         * BufferView.C:
1839         * BufferView_pimpl.C:
1840         * buffer.C:
1841         * lyxfind.C:
1842         * lyxfunc.C:
1843         * text.C:
1844         * text2.C:
1845         * text3.C: adjust
1846
1847 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1848
1849         * lyxtext.h:
1850         * text.C:
1851         * text2.C:
1852         * rowpainter.C:
1853         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1854         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1855
1856 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1857
1858         * Bidi.[Ch] (computeTables): const correctness
1859         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1860         fill_hfill, fill_label_hfill and x from Row
1861         * lyxtext.h: prepareToPrint returns a RowMetrics
1862         * rowPainter.C: adjust
1863         * text.C (prepareToPrint): use width, not textWidth. adjust
1864         (redoParagraphInternal, cursorX): adjust
1865         * text2.C (getColumnNearX): adjust
1866         (init): put a default value to the top LyXText::width
1867
1868 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1869
1870         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1871
1872 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1873
1874         * lyxtext.h: add FontIterator class
1875
1876         * text.C (FontIterator, operator*, operator->, operator++): add
1877         (rowBreakPoint, setRowWidth): adjust (fixing a
1878         rebreaking bug)
1879
1880 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1881
1882         * BufferView_pimpl.C (workAreaDispatch): allow also
1883         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1884
1885 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1886
1887         * text.C (rowBreakPoint): fix a bug showing with very large insets
1888
1889 2004-02-25  André Pönitz  <poenitz@gmx.net>
1890
1891         * text3.C:
1892         * cursor.[Ch]: move some mathed specific code to mathed
1893
1894 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1895
1896         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1897         use_tempdir in preferences
1898         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1899         tempfile creation
1900         * lyx_main.C: ensure that tempdir is valid
1901         * lyxlex.h: correct typo
1902         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1903         * paragraph.[Ch] (isMultiLingual): make const
1904         * cursor.[Ch] (openable): make const
1905
1906 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1907
1908         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1909
1910 2004-02-20  André Pönitz  <poenitz@gmx.net>
1911
1912         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1913
1914         * cursor.[Ch]: prepare for localized getStatus()
1915
1916         * lyxtext.h:
1917         * tabular.C:
1918         * text.C:
1919         * text2.C:
1920         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1921
1922 2004-02-20  André Pönitz  <poenitz@gmx.net>
1923
1924         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1925
1926 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1927
1928         * text2.C (setCursorFromCoordinates): switch to absolute coords
1929         (cursorUp): adjust
1930         (cursorDown): adjust
1931         * text3.C (dispatch): adjust
1932
1933 2004-02-16  André Pönitz  <poenitz@gmx.net>
1934
1935         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1936           insets/ChangeLog)
1937
1938         * cursor_slice.[Ch]: remove unneeded acessor function
1939
1940         * lyxtext.h: rename rtl() to isRTL()
1941
1942         * rowpainter.C:
1943         * tabular.C:
1944         * text.C:
1945         * text2.C:
1946         * text3.C: adjust
1947
1948 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1949
1950         * rowpainter.C (paintSelection): coord fix
1951
1952 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1953
1954         * Spacing.C: compile fix
1955
1956 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1957
1958         * cursor.C (dispatch): restore current_ before returning
1959
1960 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1961
1962         * text2.C (cursorUp, cursorDown): fix coords
1963         (moveUp): fix crash
1964
1965 2004-02-12  André Pönitz  <poenitz@gmx.net>
1966
1967         * lyxtext.h:
1968         * text.C:
1969         * text2.C:
1970         * text3.C: add LCursor & parameter to most cursor movement functions
1971           remove usage of LyXText::cursorRow() and cursorPar()
1972
1973         * cursor.[Ch]: add textRow() needed members
1974
1975         * BufferView.C:
1976         * BufferView_pimpl.C:
1977         * paragraph.[Ch]:
1978         * BufferView.C:
1979         * BufferView_pimpl.C: adjust
1980
1981 2004-02-11  André Pönitz  <poenitz@gmx.net>
1982
1983         * lyxfunc.C:
1984         * BufferView.[Ch]:
1985         * BufferView_pimpl.C: shift undo/redo handling
1986
1987         * cursor.[Ch]: fix mathed crash
1988
1989         * lyxfind.C:
1990         * lyxtext.h: move selectionAsText to LCursor
1991
1992         * output_latex.C:
1993         * paragraph.C:
1994         * text.C:
1995         * text2.C:
1996         * text3.C: adjust
1997
1998         * rowpainter.C: fix excessive drawing
1999
2000 2004-02-06  André Pönitz  <poenitz@gmx.net>
2001
2002         * BufferView.[Ch]:
2003         * BufferView_pimpl.[Ch]:
2004         * text3.C: move some text specific LFUN handling
2005
2006 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2007
2008         * text3.C (checkInsetHit): adjust coords
2009         * text2.C (getColumnNearX): adjust coords
2010         (edit): adjust coords
2011         * text.C (getRowNearY): add two asserts
2012
2013 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2014
2015         * converter.C:
2016         * format.C: add using std::distance to compile on gcc 2.95/stlport
2017
2018 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2019
2020         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2021
2022 2004-02-04  André Pönitz  <poenitz@gmx.net>
2023
2024         * BufferView.[Ch] (insertInset):
2025         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2026
2027         * text2.C:
2028         * text3.C: adjust
2029
2030 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2031
2032         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2033         on the default clause of the switch
2034         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2035         wasn't catched by LCursor::dispatch
2036
2037 2004-02-03  André Pönitz  <poenitz@gmx.net>
2038
2039         * BufferView.C:
2040         * cursor.[Ch]: some additional asserts
2041
2042         * undo.[Ch]: remove LyXText dependency in interface
2043
2044         * lyxfunc.C: adjust
2045
2046         * lyxtext.h (firstPar, lastPar): remove dead functions
2047
2048         * text.C:
2049         * text2.C:
2050         * text3.C:
2051         * paragraph.[Ch]: adjust
2052
2053 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2054
2055         * lyxfind.C (find): fix argument order in call to ::find
2056
2057 2004-02-02  André Pönitz  <poenitz@gmx.net>
2058
2059         * cursor.[Ch]: remove direct access to anchor
2060
2061         * text.C: remove findText() hack
2062
2063 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2064
2065         * iterators.[Ch] (lockPath): remove in favour of...
2066         * BufferView.[Ch] (setCursor): this addition
2067         * BufferView.C (putSelectionAt): adjust
2068         * undo.C (performUndoOrRedo): adjust
2069         * lyxfunc.C (dispatch): adjust
2070
2071 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2072
2073         * iterators.C (lockPath): add a missing slice
2074         * undo.C (performUndoOrRedo): remove redundant positioning code
2075
2076 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2077
2078         * vc-backend.C (scanMaster): ";" -> ';'
2079
2080 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2081
2082         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2083         std::binary_function
2084
2085         * lyxtextclass.C (compare_name): rename to...
2086         (LayoutNamesEqual): ...this
2087
2088         * lyxlex_pimpl.C (compare_tags): inherit from
2089         std::binary_function, put back into anon namespace
2090
2091         * lyxfind.C (MatchString): inherig from std::binary_function
2092         (findChange): use empty() istead of !size()
2093
2094         * format.C (FormatNamesEqual): new functor
2095         (getFormat): use it
2096         (getNumber): use it
2097         (add): use it
2098         (erase): use it
2099         (setViewer): use it
2100
2101         * converter.C (compare_Converter): rename to...
2102         (ConverterEqual): ...this, and fixup a bit.
2103         (getConverter): use it, and make function const
2104         (getNumber): use it, and make function const
2105         (add): use it
2106         (erase): use it:
2107
2108         * bufferlist.C: add using boost::bind
2109
2110         * MenuBackend.C (MenuNamesEqual): new functor
2111         (hasMenu): use it, and make function const
2112         (hasSubmenu): use nested bind to get rid of compare_memfun.
2113
2114 2004-01-30  André Pönitz  <poenitz@gmx.net>
2115
2116         * BufferView_pimpl.C:
2117         * cursor.C:
2118         * cursor.h:
2119         * cursor_slice.[Ch]:
2120         * lyxfunc.C:
2121         * lyxtext.h:
2122         * paragraph_funcs.C:
2123         * paragraph_funcs.h:
2124         * rowpainter.C:
2125         * text.C:
2126         * text2.C:
2127         * text3.C: move some of the edit(x,y) handling to the insets
2128         some coordinate changes.
2129
2130 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2131
2132         * text.C: add using statements for std::advance and std::distance
2133
2134         * paragraph.C: add using statement for std::distance
2135
2136         * lyxfind.C: add using statement for std::advance
2137
2138         * cursor.C (region): remove std:: from swap
2139         (openable): use nucleus in stead of operator->
2140
2141         * BufferView.C: add using statements for std::distance and std::swap
2142
2143 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2144
2145         * iterators.C: Remove the pimple, move the needed structures to
2146         the header file. Create accessor for the positions stack.
2147         (asPosIterator): remove function
2148
2149         * PosIterator.C (PosIterator): move constructors to top of file
2150         (PosIterator): reimplement the constructor taking a ParIterator in
2151         terms of setFrom.
2152         (setFrom): new function
2153         (operator!=): inline it
2154
2155 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2156
2157         * lyxfind.C (replaceAll): use std::advance
2158
2159         * iterators.h: inherit from std::iterator.
2160
2161         * PosIterator.C (advance, distance): remove
2162         * PosIterator.h: interit from std::iterator.
2163
2164 2004-01-26  André Pönitz  <poenitz@gmx.net>
2165
2166         * BufferView.[Ch]:
2167         * BufferView_pimpl.[Ch]:
2168         * InsetList.[Ch]:
2169         * PosIterator.[Ch]:
2170         * buffer.h:
2171         * bufferview_funcs.C:
2172         * cursor.[Ch]:
2173         * cursor_slice.h:
2174         * factory.[Ch]:
2175         * iterators.[Ch]:
2176         * lyxfind.C:
2177         * lyxfunc.C:
2178         * lyxtext.h:
2179         * output_docbook.C:
2180         * output_latex.C:
2181         * output_linuxdoc.C:
2182         * output_plaintext.C:
2183         * paragraph.[Ch]:
2184         * paragraph_funcs.[Ch]:
2185         * paragraph_pimpl.[Ch]:
2186         * rowpainter.C:
2187         * tabular.C:
2188         * tabular.h:
2189         * text.C:
2190         * text2.C:
2191         * text3.C: more IU:  dumps most of the rest of the mathcursor
2192     implementation into cursor.[Ch]; "globalize" a bit of it.
2193
2194 2004-01-25  Angus Leeming  <leeming@lyx.org>
2195
2196         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2197
2198 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2199
2200         * LaTeXFeatures.h: add nice_ and nice() const
2201         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2202
2203 2004-01-20  André Pönitz  <poenitz@gmx.net>
2204
2205         * BufferView.[Ch]:
2206         * BufferView_pimpl.C:
2207         * PosIterator.C:
2208         * bufferview_funcs.C:
2209         * cursor.[Ch]:
2210         * cursor_slice.[Ch]:
2211         * factory.C:
2212         * iterators.C:
2213         * lyx_cb.C:
2214         * lyxfind.C:
2215         * lyxfunc.C:
2216         * lyxtext.h:
2217         * rowpainter.C:
2218         * text.C:
2219         * text2.C:
2220         * text3.C:
2221         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2222           LCursor and mathcursor parts to LCursor and InsetBase.
2223
2224 2004-01-15  André Pönitz  <poenitz@gmx.net>
2225
2226         * cursor_slice.[Ch]: add a few covienience functions
2227
2228         * funcrequest.[Ch]: remove BufferView * member
2229
2230         * BufferView_pimpl.C:
2231         * cursor.C:
2232         * factory.[Ch]:
2233         * lyxfind.[Ch]:
2234         * lyxfunc.C:
2235         * lyxtext.h:
2236         * text3.C:
2237         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2238
2239 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2240
2241         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2242         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2243
2244 2004-01-13  André Pönitz  <poenitz@gmx.net>
2245
2246         * textcursor.[Ch]:
2247         * lyxtext.h: hide cursor and selection anchor behind accessor function
2248
2249         * BufferView.C:
2250         * BufferView_pimpl.[Ch]:
2251         * PosIterator.C:
2252         * bufferview_funcs.C:
2253         * cursor.h:
2254         * lyxfind.C:
2255         * lyxfunc.C:
2256         * text.C:
2257         * text2.C:
2258         * text3.C:
2259         * undo.C: adjust
2260
2261         * cursor.h:
2262         * cursor_slice.[Ch]: some integer type changes for inset unification
2263
2264         * lyxcursor.[hC]: remove, it's CursorSlice now.
2265
2266         * Makefile.am:
2267         * BufferView_pimpl.[Ch]:
2268         * bufferview_funcs.C:
2269         * cursor_slice.C:
2270         * lyxtext.h:
2271         * text.C:
2272         * text2.C:
2273         * text3.C:
2274         * textcursor.[Ch]: adjust
2275
2276 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2277
2278         * text2.C (undoSpan): add and use
2279         * text.C (breakParagraph): use undoSpan (fix bug 578)
2280         * lyxtext.h: adjust
2281
2282 2004-01-08  Angus Leeming  <leeming@lyx.org>
2283
2284         * BufferView_pimpl.C (MenuInsertLyXFile):
2285         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2286         * lyxfunc.C (menuNew, open, doImport):
2287         FileFilterList change to the FileDialog open and save functions.
2288
2289 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2290
2291         * ShareContainer.h: make isEqual and isUnique adaptable
2292
2293         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2294
2295 2004-01-07  Angus Leeming  <leeming@lyx.org>
2296
2297         * LyXAction.C:
2298         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2299
2300         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2301
2302         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2303         functions replacing find, replace and replaceAll.
2304
2305         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2306         LFUN_WORDFIND(FORWARD|BACKWARD).
2307
2308 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2309
2310         * text.C (breakParagraph): remove an outdated #warning
2311
2312 2004-01-07  André Pönitz  <poenitz@gmx.net>
2313
2314         * lyxfind.C: somewhat clearer logic
2315
2316         * text.C: prevent crash in cursorX on unitialized row cache
2317
2318 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2319
2320         * lyxcursor.[Ch] (operator>): add
2321         * textcursor.C (selStart, selEnd): use std::min and std::max
2322
2323 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2324
2325         * Chktex.C: include boost/format.hpp
2326
2327 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2328
2329         * InsetList.C: replace functor MathcIt with adaptable functor
2330         InsetTablePosLess
2331         (insetIterator): modify accordingly
2332
2333         * BranchList.h: move the BranchNamesEqual functor here from...
2334         * BranchList.C: ... to here
2335
2336         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2337         SameName and match.
2338         (add): replace a finding loop with std::find_if.
2339
2340 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2341
2342         * output_docbook.C: moving LatexParam functionality into
2343         .layout files
2344
2345 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2346
2347         * buffer.C: increment format to 229.
2348
2349 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2350
2351         * LaTeXFeatures.C:
2352         * lyx_sty.[Ch]: remove minipageindent_def
2353
2354         * LyXAction.C:
2355         * factory.C:
2356         * lfuns.h:
2357         * lyxfunc.C:
2358         * text3.C: remove LFUN_INSET_MINIPAGE
2359
2360 2003-12-28  Angus Leeming  <leeming@lyx.org>
2361
2362         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2363
2364 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2365
2366         * text2.C (setParagraph): fix off-by-one crash
2367
2368 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2369
2370         * output_docbook.C: header stuff for AGU
2371
2372 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2373
2374         * text2.C (redoCursor): remove
2375         * text.C:
2376         * text3.C:
2377         * BufferView_pimpl.C: remove calls to redoCursor and
2378         setCursor(cursor.par(), cursor.pos()) all around
2379
2380 2003-12-15  Angus Leeming  <leeming@lyx.org>
2381
2382         * buffer.C: up the format to 228.
2383
2384 2003-12-15  André Pönitz  <poenitz@gmx.net>
2385
2386         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2387         slices
2388
2389         * Makefile.am:
2390
2391         * BufferView_pimpl.C:
2392         * cursor.[Ch]:
2393         * lyxcursor.[Ch]:
2394         * rowpainter.[Ch]:
2395         * lyxtext.h:
2396         * text.C:
2397         * text2.C:
2398         * text3.C: adjust
2399
2400 2003-12-15  Angus Leeming  <leeming@lyx.org>
2401
2402         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2403         than getFromGUIName to manipulate the color.
2404
2405 2003-12-14  Angus Leeming  <leeming@lyx.org>
2406
2407         * BranchList.[Ch]: minimize the API.
2408         (Branch::getBranch, getColor): now return a 'const &'.
2409         (Branch::setSelected) now returns a bool set to true if the
2410         selection status changes.
2411         (BranchList::clear, size, getColor, setColor, setSelected,
2412         allBranches, allSelected, separator): removed.
2413         (BranchList::find): new functions, returning the Branch with
2414         the given name.
2415         (BranchList::add, remove): return a bool indicating that
2416         the operation was successful.
2417
2418         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2419         new InsetBranch::isBranchSlected member function.
2420
2421         * LColor.[Ch]: mimimize the API.
2422         (fill): renamed as addColor and made private.
2423         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2424         versions of these functions taking a string arg have been removed.
2425
2426         * bufferparams.C (readToken):
2427         * lyxfunc.C (dispatch):
2428         * lyxrc.C (read): changes due to the altered BranchList and
2429         LColor APIs.
2430
2431         * factory.C (createInset, readInset): changes due to altered
2432         InsetBranch c-tor.
2433
2434 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2435
2436         * factory.C:
2437         * lyxfunc.C: remove insetminipage. "minipage-insert"
2438         now produces a frameless minipage box inset.
2439
2440 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2441
2442         * textcursor.[Ch] (selStart,selEnd): add new methods
2443         remove selection::start, end, use LyXCursor::operator<
2444         * lyxcursor.[Ch] (operator<): add
2445         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2446         * BufferView.[Ch] (unsetXSel): add
2447         * text2.C (clearSelection): use unsetXSel,adjust
2448         * text.C: adjust
2449         * text3.C: adjust
2450         * rowpainter.C: adjust
2451         * bufferview_funcs.C (put_selection_at): adjust
2452
2453 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2454
2455         * BufferView_pimpl.C: small coord. correction
2456
2457 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2458
2459         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2460         dragging over the splash screen.
2461
2462 2003-12-11  Angus Leeming  <leeming@lyx.org>
2463
2464         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2465         as it is now handled in LyXText::dispatch.
2466
2467         * text3.C (doInsertInset): remove a level of nesting.
2468
2469 2003-12-11  Angus Leeming  <leeming@lyx.org>
2470
2471         * factory.C (createInset): changes due to the changed interface to
2472         InsetCommandMailer::string2params.
2473
2474 2003-12-10  Angus Leeming  <leeming@lyx.org>
2475
2476         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2477         'dialog-show-new-inset <inset name>'
2478
2479 2003-12-10  Angus Leeming  <leeming@lyx.org>
2480
2481         * buffer.C: up the format to 227.
2482
2483         * factory.C: the box inset is now identified simply by 'Box'.
2484
2485 2003-12-10  Angus Leeming  <leeming@lyx.org>
2486
2487         * buffer.C: up the format to 226.
2488
2489         * factory.C: the note inset is now identified simply by 'Note'.
2490
2491 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2492
2493         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2494         when a pit is enough. Standarize a couple of loops.
2495
2496 2003-12-05  Angus Leeming  <leeming@lyx.org>
2497
2498         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2499         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2500         data to the re-worked "log" dialog.
2501
2502 2003-12-03  André Pönitz  <poenitz@gmx.net>
2503
2504         * PosIterator.C:
2505         * iterators.C:
2506         * lyxtext.h:
2507         * output_latex.C:
2508         * paragraph_funcs.C:
2509         * text.C:
2510         * text2.C: use Inset::getText instead of Inset::getParagraph
2511
2512 2003-12-03  André Pönitz  <poenitz@gmx.net>
2513
2514         * buffer.[Ch]:
2515         * lyxtext.h:
2516         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2517         InsetText::read() as LyXText::read()
2518
2519 2003-12-02  Angus Leeming  <leeming@lyx.org>
2520
2521         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2522         type. Add a comment in the implementation that the function uses
2523         the stream's bad() function rather than fail() as the std::streams
2524         would do.
2525
2526 2003-12-02  André Pönitz  <poenitz@gmx.net>
2527
2528         * lyxlex.[Ch]: make interface more similar to std::stream
2529
2530         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2531
2532 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2533
2534         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2535
2536 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2537
2538         * vspace.[Ch]: remove VSpace::NONE
2539
2540 2003-12-01  André Pönitz  <poenitz@gmx.net>
2541
2542         * buffer.[Ch]:
2543         * lyxtext.h: move ParagraphList member to LyXText
2544         rename LyXText::ownerParagraphs to LyXText::paragraph
2545
2546         * CutAndPaste.C:
2547         * bufferview_funcs.C:
2548         * iterators.[Ch]:
2549         * lyx_cb.C:
2550         * paragraph.C:
2551         * rowpainter.C:
2552         * tabular.C:
2553         * text.C:
2554         * text2.C:
2555         * text3.C: adjust
2556
2557         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2558
2559         * undo.C: fix cursor positioning
2560
2561 2003-12-01  John Levon  <levon@movementarian.org>
2562
2563         * BufferView_pimpl.C: fix a crash on exit with
2564         a buffer open
2565
2566 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2567
2568         * BranchList.C: fix setSelected() method.
2569
2570 2003-11-28  André Pönitz  <poenitz@gmx.net>
2571
2572         * ParagraphParameters.[Ch]:
2573         * ParameterStruct.h: remove space above/below from Paragraph to
2574          InsetVSpace
2575
2576         * BufferView_pimpl.C:
2577         * factory.C:
2578         * lyxfunc.C:
2579         * lyxtext.h:
2580         * output_latex.C:
2581         * paragraph.C:
2582         * paragraph_funcs.C:
2583         * rowpainter.[Ch]:
2584         * text.C:
2585         * text2.C:
2586         * text3.C: adjust
2587
2588 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2589
2590         * factory.C: Syntax change for CharStyles
2591
2592 2003-11-28  André Pönitz  <poenitz@gmx.net>
2593
2594         * BufferView.[Ch]:
2595         * BufferView.[Ch]:
2596         * buffer.[Ch]:
2597         * buffer.[Ch]: move LyXText member
2598
2599 2003-11-28  André Pönitz  <poenitz@gmx.net>
2600
2601         * BufferView.[Ch]: make LyXText * text a private member
2602
2603         * BufferView_pimpl.C:
2604         * cursor.C:
2605         * iterators.C:
2606         * lyx_cb.C:
2607         * lyxfind.C:
2608         * lyxtext.h:
2609         * rowpainter.[Ch]:
2610         * text.C:
2611         * text2.C:
2612         * undo.C: adjust
2613
2614         * output_plaintext.C: cleanup
2615
2616 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2617
2618         * buffer.C:
2619         * lyxtextclass.[Ch]: parametrize SGML document header
2620
2621 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2622
2623         * converter.[Ch]:
2624         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2625         getFlavor().
2626
2627 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2628
2629         * text2.C (setFont): rework using PosIterator (no more recursive)
2630         (setCharFont): no more needed
2631         (setLayout): no more selection cursors fiddling (done by redoCursor)
2632         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2633         destroy remaining ones)
2634
2635 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2636
2637         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2638         * lyxtext.h: ditto
2639         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2640         selection cursors
2641         * lyxfunc.C: adjust
2642         * text3.C: adjust + re-allow multi par depth changes
2643         * textcursor.C: simplify a bit
2644
2645 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2646
2647         * src/buffer.C:
2648         * src/lyxlayout.C:
2649         * src/lyxlayout.h:
2650         * src/lyxtext.h:
2651         * src/output_docbook.C:
2652         * src/output_latex.C:
2653         * src/paragraph.C:
2654         * src/paragraph.h:
2655         * src/sgml.C:
2656         * src/sgml.h:
2657         * src/text2.C: Introducing a number of tags parametrizing various
2658         XML formats that we may want to support
2659
2660 2003-11-25  André Pönitz  <poenitz@gmx.net>
2661
2662         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2663
2664         * lyxtext.h (leftMargin/rightMargin): simplify interface
2665
2666         * rowpainter.C:
2667         * text.C:
2668         * text2.C:
2669         * text3.C: adjust
2670
2671 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2672
2673         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2674         master file to any child files. Fixes bug 546.
2675
2676 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2677
2678         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2679
2680 2003-11-24  André Pönitz  <poenitz@gmx.net>
2681
2682         * rowpainter.C: simplification
2683
2684         * text2.C (updateCounters): remove call to redoParagraph on
2685         changed labels as this is far too expensive.
2686
2687 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2688
2689         * converter.C (convert): fix a crash: this function gets
2690         called with buffer == 0 from importer code.
2691
2692 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2693
2694         * text3.C (cursorPrevious): make sure that we do not compare
2695         iterators form different containers.
2696         (cursorNext): ditto
2697
2698         * rowpainter.C (paintSelection): make sure that we do not compare
2699         iterators from different containers.
2700
2701         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2702         iterators from different ParagraphList containers.
2703         [NEXT] ditto
2704
2705         * text2.C (LyXText): change order of initialization slightly
2706         (operator=): new function. copy all variables except cache_par_
2707         (moveUp): make sure that we do not compare iterators from
2708         different ParagraphList constainers.
2709         (moveDown): ditto
2710
2711         * text.C (firstPar): new function
2712         (lastPar): new function
2713         (endPar): new function
2714
2715         * lyxtext.h: move things around and group public functions, public
2716         variables, private functions, private variables
2717
2718 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2719
2720         * factory.C: change call to InsetERT constructor to avoid
2721         additional invocation of method status
2722         * text2.C (toggleInset): remove redundant update() call
2723         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2724         instead of a Bufferview pointer
2725
2726 2003-11-21  André Pönitz  <poenitz@gmx.net>
2727
2728         * rowpainter.C: simplification
2729
2730 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2731
2732         * text3.C (dispatch): make possible to extend a word/row selection
2733         with the mouse
2734
2735 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2736
2737         * lyxtext.h: x0_,y0_ -> xo_,yo_
2738         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2739         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2740         * rowpainter.C (paintRows): paint full paragraphs
2741
2742 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2743
2744         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2745         screen coordinates)
2746
2747 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2748
2749         * lyxtext.h: add x0_, y0_
2750         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2751         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2752
2753 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2754
2755         * text2.C (setCursorIntern): move the x_target update here *
2756         * text3.C: change some bv() to true/false in calls to
2757         cursorUp/Down/Right/Left
2758         * cursor.C: use helper function.
2759
2760 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2761
2762         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2763         * paragraph_funcs.[Ch]: correct comment
2764         * rowpainter.C: do not paint selections away from bv->cursor()
2765         Fix a long standing selection painting bug.
2766         * text3.C: generalize mouse-selection code to LyXTexts other that
2767         top one
2768         * textcursor.C: do not use y coords if we can use par offsets
2769
2770 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2771
2772         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2773         cursor position after e.g. inset insert)
2774
2775 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2776
2777         * lyxfind.C (replace): adjust to locking removal + some
2778         code simplification
2779
2780 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2781
2782         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2783         of the path
2784
2785 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2786
2787         * lyxlayout.[Ch]:
2788         * output_docbook.C: XML sanitation: new layout
2789         parameters InnerTag and CommandDepth
2790
2791 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2792
2793         * BufferView_pimpl.C:
2794         * factory.C:
2795         * text3.C: Fix the insertion and modification of button-style
2796         insets
2797
2798 2003-11-13  André Pönitz  <poenitz@gmx.net>
2799
2800         * InsetList.[Ch]: remove deleteLyXText
2801
2802         * paragraph.[Ch]: cache beginOfBody position
2803
2804         * Bidi.C:
2805         * text.C:
2806         * text2.C:
2807         * text3.C: remove superfluous update() calls
2808
2809         * vspace.C: cleanup
2810
2811 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2812
2813         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2814         * BufferView.C (fitLockedInsetCursor): remove
2815         * cursor.[Ch] (getDim): add
2816         * text.C (getRowNearY): add faster version
2817         * text3.C: remove some update calls
2818
2819 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2820
2821         * LaTeXFeatures.C:
2822         * LyXAction.C:
2823         * MenuBackend.C:
2824         * MenuBackend.h:
2825         * dispatchresult.h:
2826         * factory.C:
2827         * lfuns.h:
2828         * lyxfunc.C:
2829         * lyxtextclass.C:
2830         * lyxtextclass.h:
2831         * text3.C: The Character Style /XML short element patch.
2832
2833 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2834
2835         * text3.C:
2836         * factory.C: Small step to solving 'unable to insert some insets'
2837         problem
2838
2839 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2840
2841         * cursor.[Ch] (updatePos): new function for updating the y
2842         position of the tip inset
2843         * bufferview_funcs.C (put_selection_at):
2844         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2845
2846 2003-11-11  André Pönitz  <poenitz@gmx.net>
2847
2848         * text.C: remove big comment on invalid Paragraph pointers as it is
2849         not valid anymore
2850
2851 2003-11-11  André Pönitz  <poenitz@gmx.net>
2852
2853         * text_funcs.[Ch]: merge with ...
2854
2855         * text.C: ... this
2856
2857         * lyxtext.h:
2858         * text2.C:
2859         * text3.C: adjust
2860
2861         * Makefile.am: remove text_funcs.[Ch]
2862
2863 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2864
2865         * cursor.C (getPos): return absolute cached y coord
2866
2867         * BufferView_pimpl.C (fitCursor): new simplistic code
2868         (workAreaDispatch): add a fitCursor call
2869
2870 2003-11-10  André Pönitz  <poenitz@gmx.net>
2871
2872         * BufferView.[Ch]:
2873         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2874
2875 2003-11-10  André Pönitz  <poenitz@gmx.net>
2876
2877         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2878         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2879         indicate that the cursor needs to leave an inset
2880
2881         * lyxtext.h: remove inset locking
2882
2883         * cursor.[Ch]: re-implement functionality provided by inset locking
2884
2885         * BufferView.[Ch]:
2886         * BufferView_pimpl.[Ch]:
2887         * LyXAction.C:
2888         * bufferview_funcs.[Ch]:
2889         * factory.C:
2890         * funcrequest.[Ch]:
2891         * iterators.C:
2892         * lyx_cb.C:
2893         * lyxfind.C:
2894         * lyxfunc.C:
2895         * text.C:
2896         * text2.C:
2897         * text3.C:
2898         * undo.C: adjust
2899
2900 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2901
2902         * PosIterator.[Ch]: replace the stack with a vector, add inset
2903         accesor
2904         * iterators.[C]: adjust
2905
2906 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2907
2908         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2909         replaced
2910         * paragraph_funcs.C (readParToken): put the correct id in the
2911         error item, not the id of the top paragraph
2912
2913 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2914
2915         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2916         * bufferview_funcs.C (put_selection_at): use the above
2917
2918 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2919
2920         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2921
2922 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2923
2924         * output_linuxdoc.h:
2925         * output_plaintext.h:
2926         * output.h:
2927         * output_docbook.h: add #include statements
2928
2929 2003-11-05  José Matos  <jamatos@lyx.org>
2930
2931         * output_docbook.[Ch]:
2932         * output_latex.[Ch]:
2933         * output_linuxdoc.[Ch]:
2934         * output_plaintext.[Ch]: New files for output formats.
2935         * output.[Ch]: New file for helper functions.
2936
2937         * buffer.[Ch]:
2938         * paragraph_funcs.[Ch]: output functions moved to new files.
2939
2940         * outputparams.h: rename of latexrunparams.h
2941
2942         * LaTeX.[Ch]:
2943         * buffer.[Ch]:
2944         * bufferlist.[Ch]:
2945         * converter.[Ch]:
2946         * exporter.C:
2947         * paragraph.[Ch]:
2948         * paragraph_funcs.[Ch]:
2949         * paragraph_pimpl.[Ch]:
2950         * tabular.[Ch]: rename ascii to plaintext
2951         and LatexRunParams to OutputParams.
2952
2953 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2954
2955         * iterators.[Ch] (text): require bv argument
2956         * undo.C (recordUndo):
2957         * lyxfunc.C (dispatch):
2958         * bufferview_funcs.C (put_selection_at): adjust
2959
2960 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2961
2962         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2963
2964 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2965
2966         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2967         nestings
2968
2969 2003-11-04  André Pönitz  <poenitz@gmx.net>
2970
2971         * cursor.[Ch]: restructure
2972
2973         * BufferView.[Ch]:
2974         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2975
2976         * iterators.[Ch] (asCursor): remove
2977
2978         * lfuns.h: remove LFUN_INSET_EDIT
2979
2980         * lyxfunc.C:
2981         * tabular.C:
2982         * text.C:
2983         * text2.C:
2984         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2985
2986 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2987
2988         * lyxfind.[Ch]: complete overhaul
2989         * BufferView_pimpl.C:
2990         * lyxfunc.C: adjust
2991         * paragraph.[Ch] (insert): add
2992
2993 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2994
2995         * BufferView.[Ch]:
2996         * lyxtext.h:
2997         * text.C: remove dead spellcheck code
2998
2999 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3000
3001         * dispatchresult.h: add a val setter
3002
3003         * cursor.C (dispatch): use a tempvar for data_[i]
3004
3005 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3006
3007         * PosIterator.[Ch]: compile fix
3008
3009 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3010
3011         * text.C (cursorPar): deactivate the cursor cache
3012
3013 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3014
3015         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3016
3017 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3018
3019         * text3.C (dispatch): adjust for new DisptchResult semantics.
3020
3021         * lyxfunc.C (dispatch): handle update when return from
3022         Cursor::dispatch, adjust for new DispatchResult semantics.
3023
3024         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3025         DispatchResult(true) mean to not update. Add class functions for
3026         setting dispatched and update, as well as reading.
3027
3028         * cursor.C (dispatch): don't handle update here
3029
3030 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3031
3032         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3033         * trans_mgr.C: adjust
3034
3035         * paragraph_funcs.C (readParToken): exception safety
3036
3037         * lyxvc.h: store the vcs pointer in a scoped_ptr
3038         * lyxvc.C: adjust
3039
3040         * lyxsocket.C (serverCallback): exception safety
3041
3042         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3043
3044         * ispell.C (clone): make it return a auto_ptr
3045
3046         * factory.C (createInset): exception safety
3047         (readInset): exception safety
3048
3049         * bufferlist.C (newBuffer): exception safety
3050
3051         * Thesaurus.C (Thesaurus): use initialization for aik_
3052
3053         * MenuBackend.C (expandToc): exception safety.
3054
3055 2003-11-03  André Pönitz  <poenitz@gmx.net>
3056
3057         * buffer.C:
3058         * buffer.h:
3059         * bufferview_funcs.C: remove getInsetFromId()
3060
3061         * lyxcursor.[Ch]:
3062         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3063
3064         * lyxfunc.C:
3065         * text2.C:
3066         * text3.C: adjust
3067
3068 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3069
3070         * PosIterator.C (distance, advance): new
3071         * bufferview_funcs.[Ch] (put_selection_at): new
3072         * iterators.[Ch] (lockPath): new
3073
3074 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3075
3076         * iterators.[Ch] (asPosIterator): added
3077         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3078         * PosIterator.[Ch]: added
3079
3080 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3081
3082         * text3.C:
3083         * lyxfunc.C:
3084         * cursor.C (dispatch):
3085         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3086
3087         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3088         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3089         contructor, add a class function dispatched. Remove operator>=
3090
3091 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3092
3093         * debug.C: only use the default constructor for debugstream
3094         (lyxerr) here.
3095
3096         * main.C (main): include debug.h and setup the lyxerr streambuf
3097         here.
3098
3099 2003-10-31  José Matos  <jamatos@lyx.org>
3100
3101         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3102
3103         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3104         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3105         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3106         * paragraph_pimpl.C (simpleTeXSpecialC):
3107         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3108         add LatexRunParams argument.
3109
3110         * exporter.C (Export): change call accordingly.
3111
3112         * latexrunparams.h: add new member to take care of the other backends.
3113 2003-10-30  José Matos  <jamatos@lyx.org>
3114
3115         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3116         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3117         factorise code for paragraph output.
3118         * buffer.[Ch]:
3119         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3120         move functions.
3121
3122 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3123
3124         * text3.C (dispatch):
3125         * lyxfunc.C (dispatch):
3126         * cursor.C (dispatch):
3127         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3128
3129         * dispatchresult.h: make the dispatch_result_t ctor explicit
3130
3131 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3132
3133         * sgml.[Ch]:
3134         * buffer.C: small refactoring of docbook stuff
3135
3136 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3137
3138         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3139         meaning.
3140
3141 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3144         operator dispatch_result_t, and operators for == != and >=
3145
3146         * cursor.C (dispatch): adjust for operator dispatch_result_t
3147         removal. comment out call to update
3148
3149         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3150
3151 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3152
3153         * text3.C:
3154         * text2.C:
3155         * text.C:
3156         * lyxtext.h:
3157         * lyxfunc.C:
3158         * cursor.C:
3159         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3160         (dispatch):
3161
3162         * dispatchresult.h: new file, DispatchResult broken out of
3163         insets/insetbase.h
3164
3165         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3166
3167 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3168
3169         * text.C (rowBreakPoint): put a hack inside #if 0
3170
3171 2003-10-28  André Pönitz  <poenitz@gmx.net>
3172
3173         * lyxtext.h:
3174         * metricsinfo.C:
3175         * paragraph_funcs.C:
3176         * rowpainter.C:
3177         * text.C:
3178         * text2.C: general cleanup (lots of small stuff)
3179
3180 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3181
3182         * text2.C (cursorEnd): simple fix to the "end key goes to one
3183         before the end on last row" bug
3184
3185 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3186
3187         * text.C (backspace): fix the "zombie characters"
3188
3189 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3190
3191         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3192
3193 2003-10-27  André Pönitz  <poenitz@gmx.net>
3194
3195         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3196
3197         * factory.C: handle new InsetPagebreak, InsetLine
3198
3199         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3200         and move handling into new InsetPagebreak, InsetLine
3201
3202         * BufferView_pimpl.C:
3203         * LyXAction.C:
3204         * ParagraphParameters.C:
3205         * ParameterStruct.h:
3206         * lyxfunc.C:
3207         * lyxtext.h:
3208         * paragraph.C:
3209         * paragraph.h:
3210         * paragraph_funcs.C:
3211         * paragraph_pimpl.C:
3212         * rowpainter.C:
3213         * text.C:
3214         * text2.C:
3215         * text3.C: adjust
3216
3217 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3218
3219         * text.C:
3220         * lyxrow_funcs.[Ch]:
3221         * Bidi.C:
3222         * paragraph.C:
3223         * lyxtext.h:
3224         * rowpainter.C:
3225         * text2.C:
3226         * text3.C: remove lastPos uses in favour of Row::endpos
3227
3228 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3229
3230         * undo.C (performUndoOrRedo): fix two crashes by setting a
3231         cursor by hand and reordering some calls. Use bv->lockInset instead
3232         of inset->edit because the latter loses cursor information
3233
3234 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3235
3236         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3237         by Martin
3238         (rowBreakPoint): fix width. change point to point + 1.
3239         Add a missing check.
3240
3241 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3242
3243         * MenuBackend.C:
3244         * lyxfunc.C: fix (at least partly) the problems
3245         with the Nav menu and headers inside branch insets
3246         reported by Kayvan
3247
3248 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3249
3250         * paragraph.C (getChar): add strong asserts
3251
3252         * lyxrow_funcs.C (lastPos): remove hideous hack
3253
3254         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3255         (fill): adjust to that (avoid an infinite loop)
3256
3257 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3258
3259         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3260
3261 2003-10-23  André Pönitz  <poenitz@gmx.net>
3262
3263         * RowList_fwd.h: change list<> to vector<> to gain speed
3264         after suggestion from Alfredo
3265
3266 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3267
3268         * lyxtext.h: move the bidi stuff from here...
3269         * text.C: and here
3270         * text2.C: and here
3271         * Bidi.[Ch]: ... to here
3272
3273 2003-10-23  André Pönitz  <poenitz@gmx.net>
3274
3275         * lyxtext.h:
3276         * text.C (isLastRow, isFirstRow): new functions
3277
3278         * paragraph.h: new width cache member
3279
3280         * rowpainter.C: replace RowList::iterator with Row & where possible
3281
3282         * lyxfunc.C: replace several view()->text with a single call
3283
3284         * toc.C: fix 'unused' warning
3285
3286 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3287
3288         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3289         when woring with stream::pos_type
3290         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3291
3292 2003-10-22  André Pönitz  <poenitz@gmx.net>
3293
3294         * lyxtext.h:
3295         * text.C: use Row & instead of RowList::iterator
3296
3297         * lyxrow.h: rename end() to endpos()
3298
3299         * rowpainter.C:
3300         * text.C:
3301         * text2.C: adjust
3302
3303 2003-10-22  Angus Leeming  <leeming@lyx.org>
3304
3305         * buffer.[Ch] (fully_loaded): new member function, returning true
3306         only when the file has been loaded fully.
3307         Used to prevent the premature generation of previews and by the
3308         citation inset to prevent computation of the natbib-style label.
3309
3310         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3311         templates are all set up.
3312
3313         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3314
3315 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3316
3317         * text.C: fixed an "oops" in the "is a bit silly"
3318         bug fix
3319
3320 2003-10-21  André Pönitz  <poenitz@gmx.net>
3321
3322         * FuncStatus.[Ch]: small stuff, whitespace
3323
3324         * lyxfont.[Ch]: operator<<() for debug reasons
3325
3326         * lyxfunc.C:
3327         * lyxrow_funcs.C:
3328         * lyxtext.h: whitespace, spelling
3329
3330         * paragraph.C: naming of variables
3331
3332         * text.C:
3333         * text2.C: small stuff
3334
3335
3336 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3337
3338         * text.C: (1) finish off the inset display() work;
3339         (2) fix the "is a bit silly" bug (accessing char
3340         past end of par).
3341
3342 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3343
3344         * text.C: re-introduce display() for insets, fixing the
3345         various bugs (stretch of line above, math inset
3346         positioning, ...)
3347
3348 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3349
3350         * text.C (rightMargin): remove spurious semicolon
3351
3352         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3353         1415)
3354
3355 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3356
3357         * text3.C: fix one crash due to wrong cursor def
3358
3359 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3360
3361         * vc-backend.C (scanMaster): make the regex static
3362
3363         * LaTeX.C (scanAuxFile): make the regexs static
3364
3365         * text3.C (doInsertInset, dispatch, dispatch):
3366         * text2.C (cursorUp, cursorDown):
3367         * text.C (selectNextWordToSpellcheck):
3368         * BufferView_pimpl.C (dispatch):
3369         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3370
3371 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3372
3373         * lyxsocket.C: include <cerrno>
3374
3375 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3376
3377         * lyxfunc.C (dispatch): remove textcache stuff
3378
3379         * bufferlist.C (release): remove textcache stuff
3380         (closeAll): ditto
3381
3382         * TextCache.C: delete file
3383         * TextCache.h: delete file
3384
3385         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3386
3387         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3388         delete of the bv_->text.
3389         (resizeCurrentBuffer): remove texcache stuff
3390         (workAreaResize): ditto
3391
3392 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3393
3394         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3395         action.
3396
3397 2003-10-16  André Pönitz  <poenitz@gmx.net>
3398
3399         * lyxrow.[Ch]:
3400         * paragraph.h:
3401         * rowpainter.C:
3402         * text.C:
3403         * text2.C:
3404         * text3.C: speed up by storing y positions per paragraph plus per-row
3405         offset instead of having a 'full' y position in the row.
3406
3407 2003-10-15  André Pönitz  <poenitz@gmx.net>
3408
3409         * iterators.[Ch]:
3410         * iterators.[Ch]:
3411         * undo.[Ch]: make undo aware of inner insets
3412
3413 2003-10-14  Angus Leeming  <leeming@lyx.org>
3414
3415         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3416         static member functions LyX::ref() and LyX::cref.
3417         (lastfiles): new accessor functions for the new lastfiles_ member var.
3418         (addLyXView, views_): add a new LyXView to the list of views_.
3419         (updateInset): loop over all LyXViews to call their own updateInset
3420         member function, returning a pointer to the Buffer owning the inset.
3421
3422         * BufferView_pimpl.C (loadLyXFile):
3423         * MenuBackend.C (expandLastfiles):
3424         * bufferlist.C (MenuWrite, QuitLyX):
3425         lastfiles is no longer a global variable.
3426         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3427
3428         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3429         static function. Access through LyX::cref().emergencyCleanup().
3430
3431 2003-10-14  André Pönitz  <poenitz@gmx.net>
3432
3433         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3434
3435         * undo.[Ch]: restoring part of 'undo in insets'
3436
3437         * Makefile.am:
3438         * undo_funcs.[Ch]: merge with undo.[Ch]
3439
3440         * tabular.C: small cleansing stuff
3441
3442 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3443
3444         * paragraph_funcs.C (readParToken): report unknown insets as error
3445         boxes. Use the outer paragraph as location (also for unknown
3446         tokens).
3447
3448         * factory.C (readInset): do not abort on reading an unknown inset.
3449         Eat it and return 0.
3450
3451 2003-10-13  Angus Leeming  <leeming@lyx.org>
3452
3453         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3454
3455         * lyxrc.C: displayTranslator is now a function,
3456         declared in GraphicsTypes.h.
3457
3458 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3459
3460         * format.C: new placeholder $$a to pass the socket address.
3461
3462         * bufferlist.[Ch]: new function getBufferFromTmp.
3463
3464         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3465           files in the temporary dir.
3466
3467 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3468
3469         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3470
3471         * Makefile.am: add lyxsocket.[Ch].
3472
3473         * lyx_main.C (error_handler): handle SIGPIPE.
3474
3475 2003-10-13  André Pönitz  <poenitz@gmx.net>
3476
3477         * BufferView_pimpl.C:
3478         * lyxtext.h:
3479         * text.C:
3480         * text2.C:
3481         * text3.C:
3482         * undo_funcs.[Ch]: use paroffset_type instead of
3483           ParagraphList::iterators to prevent multiple conversion
3484           (and get a more robust interface)
3485
3486 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3487
3488         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3489         * lyxtext.h: ditto
3490         * text3.C (dispatch): ditto
3491
3492 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3493
3494         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3495         move the onlyfile, use onlyfile instead of foundfile in a couple
3496         of places.
3497
3498         * DepTable.C (update): flush the error stream a bit more
3499
3500 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3501
3502         * lyxserver.C (callback): adjust
3503
3504         * lyxfunc.C (getStatus): add a missing brace in commented code
3505         (ensureBufferClean): reindent
3506         (dispatch): delete version taking a string
3507
3508 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3509
3510         * LaTeX.C (deplog): move found file handlig from here...
3511         (handleFoundFile): .. to new function here.
3512         (deplog): make sure to discover several files mentioned on the
3513         same log line.
3514
3515 2003-10-10  André Pönitz  <poenitz@gmx.net>
3516
3517         * lyxfunc.C:
3518         * lyxtext.h:
3519         * tabular.C:
3520         * text.C:
3521         * text2.C:
3522         * text3.C: fix some of the tabular crashes
3523
3524 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3525
3526         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3527
3528         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3529
3530 2003-10-09  André Pönitz  <poenitz@gmx.net>
3531
3532         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3533
3534         * BufferView.C:
3535         * BufferView_pimpl.C:
3536         * bufferview_funcs.C:
3537         * lyx_cb.C:
3538         * lyxcursor.C:
3539         * lyxfind.C:
3540         * lyxfunc.C:
3541         * lyxtext.h:
3542         * text.C:
3543         * text2.C:
3544         * text3.C:
3545         * text_funcs.[Ch]:
3546         * textcursor.[Ch]:
3547         * undo_funcs.C: adjust
3548
3549 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3550
3551         * text2.C (incrementItemDepth): new function, use a backtracking
3552         algorithm to discover the correct item depth.
3553         (resetEnumCounterIfNeeded): new function, use a backtracking
3554         algorithm to discover if counter reset is needed.
3555         (setCounter): use them. Simplify a bit. Add different labels for
3556         different item depths for itemize.
3557
3558         * paragraph.C (Paragraph): remove initialization of enumdepth
3559         (operator=): ditto
3560
3561         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3562         enumerate and itemize. Change the type of itemdepth to signed char.
3563
3564 2003-10-08  André Pönitz  <poenitz@gmx.net>
3565
3566         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3567           thing assignable.
3568         * text.C:
3569         * text2.C: adjust
3570
3571         * tabular.[Ch]: fix crash after 'row-insert'
3572
3573 2003-10-08  Angus Leeming  <leeming@lyx.org>
3574
3575         Fix doxygen warnings.
3576
3577         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3578         Remove CutAndPaste:: prefix from header file declaration.
3579
3580         * LColor.h (fill): remove LColor:: prefix from declaration.
3581
3582         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3583         use lyx::depth_type rather than Paragraph::depth_type so that
3584         header file and .C file match.
3585
3586         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3587
3588         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3589         * aspell.C: \file aspell_local.C -> \file aspell.C
3590         * gettext.C: \file gettext.C -> \file src/gettext.C
3591         * gettext.h: \file gettext.h -> \file src/gettext.h
3592         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3593         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3594         * text.C: \file text.C -> \file src/text.C
3595
3596         * toc.C: move comment so that doxygen is not confused.
3597
3598 2003-10-07  Angus Leeming  <leeming@lyx.org>
3599
3600         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3601
3602 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3603
3604         * aspell.C:
3605         * aspell_local.h: add forgotten std::string's.
3606
3607 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3608
3609         * LaTeXFeatures.C:
3610         * LyXAction.C:
3611         * factory.C:
3612         * lfuns.h:
3613         * lyxfunc.C:
3614         * text3.C: The Box patch. Fancybox support, minipage, parbox
3615
3616 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3617
3618         * CutAndPaste.h:
3619         * DepTable.h:
3620         * FloatList.h:
3621         * LaTeXFeatures.h:
3622         * ParagraphParameters.h:
3623         * TextCache.h:
3624         * Thesaurus.h:
3625         * bufferlist.h:
3626         * exporter.h:
3627         * importer.h:
3628         * lastfiles.h:
3629         * lyxfind.h:
3630         * lyxfont.h:
3631         * lyxlex.h:
3632         * lyxtextclasslist.h:
3633         * messages.h:
3634         * paragraph.h:
3635         * paragraph_pimpl.C:
3636         * textcursor.h: add <string> and other small fixes to make Lars'
3637         std::string patch compile with STLport.
3638
3639 2003-10-06  Angus Leeming  <leeming@lyx.org>
3640
3641         * LColor.h: Add missing #include <string>.
3642
3643 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3644
3645         * All most all file in all subdirs: Make <string> be the prefered
3646         way of getting to std::string, add using declarations.
3647
3648 2003-10-06  André Pönitz  <poenitz@gmx.net>
3649
3650         * metricsinfo.C: initialize LyXFont before changing attribute.
3651         (fixes the 'math in \emph is upright' bug)
3652
3653 2003-10-06  André Pönitz  <poenitz@gmx.net>
3654
3655         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3656
3657 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3658
3659         * graph.C:
3660         * paragraph_pimpl.C: Small fixes to build using STLport
3661
3662 2003-10-02  André Pönitz  <poenitz@gmx.net>
3663
3664         * lyxfunc.C:
3665         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3666
3667 2003-10-01  André Pönitz  <poenitz@gmx.net>
3668
3669         * factory.C: assert early
3670
3671 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3672
3673         * lyx_main.C: remove the global debug object
3674
3675         * debug.h: adjust for new debugstream
3676
3677         * debug.C: adjust for new debugstream and keep the global debug
3678         object here.
3679
3680 2003-09-22  Angus Leeming  <leeming@lyx.org>
3681
3682         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3683         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3684         an incomplete class LyXFont.
3685
3686 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3687
3688         * factory.C: bug fix in branches
3689
3690 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * lyxfunc.C (processKeySym): adjust
3693         (dispatch): adjust
3694         (dispatch): change arg name from ev to func, adjust
3695         (sendDispatchMessage): ditto
3696
3697         * lyx_main.C (defaultKeyBindings): adjust keybindings
3698         (deadKeyBindings): ditto
3699
3700         * kbsequence.C (addkey): return a FuncRequest
3701
3702         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3703
3704         * kbmap.C (bind): take a FuncRequest as arg, adjust
3705         (read): adjust
3706         (lookup): adjust
3707         (defkey): change to take a FuncRequest as arg, adjust
3708         (findbinding): take a FuncRequest as arg, adjust.
3709
3710         * funcrequest.h (operator=): added
3711
3712         * funcrequest.C (FuncRequest): default kb_action changed from
3713         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3714
3715         * buffer.C (dispatch): simplify
3716         (dispatch): adjust to take a FuncRequest as arg, adjust
3717
3718         * boost.C (assertion_failed): change assertion message slightly
3719
3720         * ToolbarBackend.C (read): simplify
3721
3722         * MenuBackend.C (binding): adjust call to findbinding, add a
3723         message if no binding is found.
3724         (read): simplify
3725         (expandToc): correct by adding a empty FuncRequest
3726
3727         * LyXAction.C: include <boost/assert.hpp>
3728         (isPseudoAction): delete function
3729         (LookupFunc): change name to...
3730         (lookupFunc): this. change return type to FuncRequest.
3731         (getActionName): take kb_action as arg, simplify
3732         (funcHasFlag): add an assert, simplify.
3733
3734 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3735
3736         * toc.C (action): return a FuncRequest, simplify
3737
3738         * lyxfunc.C (processKeySym): adjust
3739         (getStatus): delete version that takes an int.
3740         (getStatus): adjust
3741         (dispatch): delete version that takes action as int
3742         (dispatch): adjust
3743         (sendDispatchMessage): simplify and adjust
3744
3745         * funcrequest.C (getArg): take unsigned int as arg
3746
3747         * ToolbarBackend.C (read): adjust
3748         (add): delete version that takes func as a string.
3749         (getIton): take a FuncRequest as arg
3750
3751         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3752         action.
3753
3754         * MenuBackend.C (MenuItem): add a new construct that only takes a
3755         Kind, simplify the constructor use for submenus.
3756         (add): adjust
3757         (expandLastfiles): adjust
3758         (expandDocuments): adjust
3759         (expandFormats): adjust
3760         (expandFloatListInsert): adjust
3761         (expandFloatInsert): adjust
3762         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3763
3764         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3765         Remove class variables lyx_pseudo_map and lyx_arg_map
3766
3767         * LyXAction.C (searchActionArg): delete function
3768         (getPseudoAction): delete function
3769         (retrieveActionArg): delete function
3770         (LookupFunc): make it return kb_action, simplify.
3771         (getActionName): simplify
3772
3773         * factory.C (createInset): fix new bug
3774
3775 2003-09-19  Angus Leeming  <leeming@lyx.org>
3776
3777         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3778         masterFilename_ parameter in the include inset.
3779
3780         * factory.C (createInset): changes due to the changes to InsetInclude.
3781
3782 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3783
3784         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3785
3786 2003-09-18  Angus Leeming  <leeming@lyx.org>
3787
3788         * buffer.C:
3789         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3790         Inset::fillWithBibKeys.
3791         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3792
3793 2003-09-18  Angus Leeming  <leeming@lyx.org>
3794
3795         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3796         variables.
3797         (ctor): pass and store a 'Buffer const &'
3798         (buffer): new member function.
3799
3800         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3801         '*this' to the LaTeXFeatures ctor.
3802
3803 2003-09-18  Angus Leeming  <leeming@lyx.org>
3804
3805         * LColor.h:
3806         * lyxfont.C:
3807         * lyxfont.h:
3808         * lyxtext.h:
3809         * text.C: rename EnumLColor as LColor_color.
3810
3811 2003-09-18  Angus Leeming  <leeming@lyx.org>
3812
3813         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3814         remove #include "insets/insetbase.h" from cursor.h.
3815
3816 2003-09-18  Angus Leeming  <leeming@lyx.org>
3817
3818         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3819         InsetOld_code to remove #include "inset.h".
3820
3821         * iterators.C: add #include "insets/inset.h"
3822
3823 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3824
3825         * BufferView.C: remove more locking stuff that apparently doesn't
3826         do anything sensible.
3827
3828 2003-09-16  André Pönitz  <poenitz@gmx.net>
3829
3830         * paragraph.[Ch]:
3831         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3832           performance boost.
3833
3834 2003-09-16  Angus Leeming  <leeming@lyx.org>
3835
3836         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3837
3838         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3839         arg/return type.
3840
3841         * paragraph.h: remove #include "lyxfont.h". Forward declare
3842         LyXFont_size.
3843
3844 2003-09-16  Angus Leeming  <leeming@lyx.org>
3845
3846         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3847         of support/textutils.h.
3848         (isWord): move the contents of support/textutils.h's IsWordChar here.
3849
3850         * buffer.C:
3851         * lyxfind.C:
3852         * rowpainter.C:
3853         * text.C:
3854         * text2.C: add #include "paragraph.h".
3855
3856         * rowpainter.C:
3857         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3858
3859 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3860
3861         * main.C:
3862         * lyx_main.C:
3863         * lyx_cb.C:
3864         * buffer.C:
3865         * LaTeX.C: use namespace alias for lyx::support::os
3866
3867 2003-09-16  Angus Leeming  <leeming@lyx.org>
3868
3869         * bufferparams.C:
3870         * bufferview_funcs.C:
3871         * factory.C:
3872         * lyxfunc.C:
3873         * paragraph_pimpl.C:
3874         * rowpainter.C:
3875         * text.C: add #include "LColor.h".
3876
3877 2003-09-16  Angus Leeming  <leeming@lyx.org>
3878
3879         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3880         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3881         return LyXFont &.
3882         Store the FontBits::color variable as an int rather than as an
3883         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3884         file.
3885
3886         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3887         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3888         string calls together.
3889
3890         * lyxrc.C: add #include "LColor.h".
3891
3892 2003-09-15  Angus Leeming  <leeming@lyx.org>
3893
3894         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3895         a cow_ptr.
3896
3897 2003-09-15  Angus Leeming  <leeming@lyx.org>
3898
3899         * LColor.h: add an EnumLColor wrapper for LColor::color.
3900
3901         * lyxfont.[Ch] (color, setColor, realColor):
3902         * lyxtext.h, text.C (backgroundColor):
3903         pass EnumLColor args to/from the functions, rather than LColor::color
3904         ones.
3905
3906         * lyxfont.h:
3907         * lyxtext.h: forward declare EnumLColor.
3908
3909         * lyx_main.C: add #include "LColor.h".
3910
3911 2003-09-15  Angus Leeming  <leeming@lyx.org>
3912
3913         * .cvsignore: add lyx-gtk.
3914
3915 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * Chktex.C
3918         * LaTeX.C
3919         * LaTeXFeatures.C
3920         * ParagraphParameters.C
3921         * Spacing.C
3922         * buffer.C
3923         * bufferparams.C
3924         * bufferview_funcs.C
3925         * chset.C
3926         * counters.C
3927         * funcrequest.C
3928         * lyxfont.C
3929         * lyxgluelength.C
3930         * lyxlength.C
3931         * paragraph.C
3932         * paragraph_funcs.C
3933         * text3.C
3934         * vc-backend.C: remove usage of STRCONV
3935
3936 2003-09-15  Angus Leeming  <leeming@lyx.org>
3937
3938         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3939         explicitly define the color passed to the painter.
3940
3941 2003-09-15  Angus Leeming  <leeming@lyx.org>
3942
3943         * bufferparams.C (BufferParams): reorder member initializers to avoid
3944         compiler warning.
3945
3946 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3947
3948         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3949         * text.C (updateRowPositions): remove an unusual nop
3950
3951 2003-09-12  André Pönitz  <poenitz@gmx.net>
3952
3953         * BufferView_pimpl.C:
3954         * Bullet.C:
3955         * layout.h:
3956         * lyxfunc.C:
3957         * lyxlayout.[Ch]:
3958         * lyxtextclass.C:
3959         * rowpainter.C:
3960         * text.C:
3961         * text2.C:
3962         * Counters.[Ch]: finish the 'automatic counters' job
3963
3964 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3965
3966         * aspell.C: include <boost/assert.cpp> (compile fix)
3967
3968 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3969
3970         * boost.C (assertion_failed): use lyx::support::abort instead of
3971         assert.
3972
3973 2003-09-10  Angus Leeming  <leeming@lyx.org>
3974
3975         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3976         with their _fwd progeny.
3977
3978 2003-09-09  Angus Leeming  <leeming@lyx.org>
3979
3980         134 files throughtout the source tree: replace 'using namespace abc;'
3981         directives with the appropriate 'using abc::xyz;' declarations.
3982
3983 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3984
3985         * boost.C (emergencyCleanup): moved here from LAssert.c
3986         (assertion_failed): new function, called by BOOST_ASSERT
3987
3988         * several files: change Assert to BOOST_ASSERT
3989
3990 2003-09-09  Angus Leeming  <leeming@lyx.org>
3991
3992         * buffer.[Ch]: Add an Impl class and move Buffer's member
3993         variables into it. As a result move several header files out of
3994         buffer.h.
3995
3996         Add header files to lots of .C files all over the tree as a result.
3997
3998 2003-09-09  Angus Leeming  <leeming@lyx.org>
3999
4000         * buffer.[Ch]: make Buffer's member variables private. Add
4001         accessor functions.
4002
4003         Lots of changes all over the tree as a result.
4004
4005 2003-09-08  Angus Leeming  <leeming@lyx.org>
4006
4007         * graph.C: #include <config.h>.
4008
4009 2003-09-08  Angus Leeming  <leeming@lyx.org>
4010
4011         * BranchList.C:
4012         * BufferView.C:
4013         * BufferView_pimpl.C:
4014         * CutAndPaste.C:
4015         * DepTable.C:
4016         * LaTeX.C:
4017         * LaTeXFeatures.C:
4018         * LyXAction.C:
4019         * MenuBackend.C:
4020         * TextCache.C:
4021         * aspell.C:
4022         * buffer.C:
4023         * bufferlist.C:
4024         * changes.C:
4025         * chset.C:
4026         * converter.C:
4027         * counters.C:
4028         * debug.C:
4029         * graph.C:
4030         * ispell.C:
4031         * lyx_cb.C:
4032         * lyxfind.C:
4033         * lyxfunc.C:
4034         * lyxlex_pimpl.C:
4035         * lyxrc.C:
4036         * lyxrow.C:
4037         * paragraph.C:
4038         * rowpainter.C:
4039         * texrow.C:
4040         * text.C:
4041         * text2.C:
4042         * toc.C: remove redundant using directives.
4043
4044 2003-09-07  Angus Leeming  <leeming@lyx.org>
4045
4046         * LaTeXFeatures.h: remove #include "support/types.h".
4047         * ToolbarBackend.h: remove #include <algorithm>.
4048         * changes.h: remove #include <ctime>.
4049         * debug.h: remove #include <iosfwd>.
4050         * graph.h: remove #include "support/std_string.h".
4051         * lyx_main.h: remove #include <csignal>.
4052         * lyxlex_pimpl.h: remove #include <fstream>.
4053         * sgml.h: remove #include <algorithm>, <utility>.
4054         * toc.h: remove #include "support/std_ostream.h".
4055         Add #include <iosfwd>.
4056
4057 2003-09-07  Angus Leeming  <leeming@lyx.org>
4058
4059         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4060
4061         * converter.h: forward declare LatexRunParams.
4062         * encoding.h: remove #include "lyxrc.h".
4063         * lyxtext.h: remove #include "LColor.h".
4064         * lyxtextclass.h: remove #include "support/types.h".
4065         * trans.h: remove #include "tex-accent.h".
4066         * trans_mgr.h: remove #include "tex-accent.h".
4067         * insets/inset.h: remove #include "support/types.h", <vector>.
4068         * insets/insetcollapsable.h: remove #include "LColor.h".
4069         * insets/insetinclude.h: remove #include "dimension.h".
4070         * insets/insetlatexaccent.h: remove #include "dimension.h".
4071         * insets/insetoptarg.h:: remove #include "insettext.h".
4072         * insets/insettext.h: remove #include "dimension.h",
4073         <boost/shared_ptr.hpp>
4074
4075         * insets/renderers.h: add #include "dimension.h".
4076         * insets/updatableinset.h: add #include "support/types.h".
4077
4078         * many .C files: Associated changes.
4079
4080 2003-09-06  Angus Leeming  <leeming@lyx.org>
4081
4082         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4083         one, inside testInvariant.
4084
4085         * PrinterParams.C: new file.
4086         * PrinterParams.[Ch]: move the function bodies out of line.
4087
4088 2003-09-06  Angus Leeming  <leeming@lyx.org>
4089
4090         * ParagraphParameters.h: forward declare ParameterStruct rather than
4091         including its header file.
4092         (depth): moved out-of-line.
4093
4094 2003-09-06  Angus Leeming  <leeming@lyx.org>
4095
4096         * BufferView_pimpl.h:
4097         * kbmap.h:
4098         * kbsequence.h:
4099         * lyxfunc.h: forward declare LyXKeySym rather than
4100         #include "frontends/LyXKeySym.h".
4101
4102         * BufferView_pimpl.C:
4103         * kbmap.C:
4104         * kbsequence.C:
4105         * lyxfunc.C: associated changes.
4106
4107 2003-09-06  Angus Leeming  <leeming@lyx.org>
4108
4109         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4110         As a result, can remove the #include "insets/inset.h" from BufferView.h
4111
4112 2003-09-06  Angus Leeming  <leeming@lyx.org>
4113
4114         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4115         As a result, can remove the #include "insets/inset.h" from BufferView.h
4116
4117 2003-09-06  Angus Leeming  <leeming@lyx.org>
4118
4119         * buffer_funcs.C:
4120         * buffer.h:
4121         * bufferlist.C:
4122         * BufferView.C:
4123         * bufferview_funcs.C:
4124         * BufferView_pimpl.C:
4125         * CutAndPaste.C:
4126         * lyx_cb.C:
4127         * lyxfunc.C:
4128         * paragraph.h:
4129         * ParagraphParameters.C:
4130         * tabular.C:
4131         * text3.C:
4132         * toc.C:
4133         * undo_funcs.C:
4134         * frontends/controllers/ControlDocument.C:
4135         * insets/insetcaption.C: rearrange the #includes into some sort of
4136         coherent order.
4137
4138         * buffer.h: remove #includes ErrorList.h, undo.h
4139
4140 2003-09-06  Angus Leeming  <leeming@lyx.org>
4141
4142         * support/types.h: add a 'depth_type' typedef, used to store the
4143         nesting depth of a paragraph.
4144
4145         * paragraph.h:
4146         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4147         defining explicitly.
4148
4149         * buffer.h:
4150         * paragraph_funcs.h:
4151         * ParagraphParameters.h:
4152         * sgml.h: use lyx::depth_type rather than Paragraph or
4153         ParameterStruct's depth_type.
4154
4155         * buffer.h
4156         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4157
4158         * BufferView.C:
4159         * BufferView_pimpl.C:
4160         * CutAndPaste.C:
4161         * ParagraphParameters.C:
4162         * buffer_funcs.C:
4163         * bufferlist.C:
4164         * bufferview_funcs.C:
4165         * lyx_cb.C:
4166         * lyxfunc.C:
4167         * tabular.C:
4168         * text3.C:
4169         * toc.C:
4170         * undo_funcs.C:
4171         * frontends/LyXView.C:
4172         * frontends/controllers/ControlDocument.C:
4173         * frontends/controllers/ControlErrorList.C:
4174         * insets/insetbibitem.C:
4175         * insets/insetbranch.C:
4176         * insets/insetcaption.C:
4177         * insets/insetcollapsable.C:
4178         * insets/insetenv.C:
4179         * insets/insetert.C:
4180         * insets/insetfloat.C:
4181         * insets/insetfoot.C:
4182         * insets/insetfootlike.C:
4183         * insets/insetnewline.C:
4184         * insets/insetquotes.C:
4185         * insets/insettabular.C:
4186         * insets/insettext.C:
4187         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4188
4189         * frontends/controllers/ControlChanges.C: #include "changes.h".
4190
4191 2003-09-06  Angus Leeming  <leeming@lyx.org>
4192
4193         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4194         than #including paragraph.h.
4195
4196         * ParagraphList.h:
4197         * RowList.h: deleted. Superfluous.
4198
4199         * CutAndPaste.h:
4200         * iterators.h:
4201         * lyxcursor.h:
4202         * lyxtext.h:
4203         * text_funcs.h:
4204         * undo.h:
4205         * undo_funcs.h:
4206         * insets/inset.h:
4207         * insets/insettext.h: use ParagraphList_fwd.h rather than
4208         ParagraphList.h.
4209
4210         * paragraph.h: don't forward declare ParagraphList.
4211
4212         * buffer.h:
4213         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4214         rather than ParagraphList.h. paragraph.h is still needed for the
4215         Paragraph::depth_type parameters.
4216
4217         * textcursor.h: enable it to compile stand-alone in light of the
4218         above changes.
4219
4220         * bufferview_funcs.C:
4221         * iterators.C:
4222         * lyxfunc.C:
4223         * lyxrow_funcs.C:
4224         * paragraph.C:
4225         * rowpainter.C:
4226         * text.C:
4227         * text2.C:
4228         * text3.C:
4229         * text_funcs.C:
4230         * textcursor.C:
4231         * undo.C:
4232         * frontends/controllers/ControlParagraph.C:
4233         * frontends/controllers/ControlTabular.C:
4234         * insets/insetmarginal.C:
4235         * insets/insetminipage.C:
4236         * insets/insetnote.C:
4237         * insets/insetoptarg.C: add header files needed to compile again.
4238
4239 2003-09-06  Angus Leeming  <leeming@lyx.org>
4240
4241         * RowList_fwd.h: new file, forward-declaring Row rather than
4242         #including lyxrow.h.
4243
4244         * lyxrow_funcs.h:
4245         * lyxtext.h:
4246         * paragraph.h:
4247         * insets/insettext.h: use it instead of RowList.h
4248
4249         * bufferview_funcs.C:
4250         * lyxfunc.C:
4251         * lyxrow_funcs.C:
4252         * paragraph.C:
4253         * rowpainter.C:
4254         * text.C:
4255         * text2.C:
4256         * text3.C: #include "RowList.h".
4257
4258 2003-09-05  Angus Leeming  <leeming@lyx.org>
4259
4260         * factory.C (createInset):
4261         * vspace.C (c-tor): replace sscanf call with an istringstream.
4262         * ispell.C: re-add missing HP/UX headers.
4263         * lyxserver.C: re-add missing  os2 headers.
4264
4265 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4266
4267         * BranchList.C:
4268         * graph.C:
4269         * ispell.C:
4270         * lastfiles.C:
4271         * lyx_cb.C:
4272         * lyxserver.C:
4273         * texrow.C:
4274         * text3.C: re-add missing system headers, needed for 2.95.2.
4275
4276 2003-09-05  Angus Leeming  <leeming@lyx.org>
4277
4278         Changes most place everywhere due to the removal of using directives
4279         from support/std_sstream.h.
4280
4281 2003-09-05  Angus Leeming  <leeming@lyx.org>
4282
4283         Replace LString.h with support/std_string.h,
4284         Lsstream.h with support/std_sstream.h,
4285         support/LIstream.h with support/std_istream.h,
4286         support/LOstream.h with support/std_ostream.h.
4287
4288         Changes resulting throughout the tree.
4289
4290 2003-09-05  Angus Leeming  <leeming@lyx.org>
4291
4292         * sgml.h: ensure that the header file can be compiled stand-alone.
4293         * *.C: strip out redundant #includes. (320 in total.)
4294
4295 2003-09-04  Angus Leeming  <leeming@lyx.org>
4296
4297         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4298         here (from getPackages).
4299
4300         * debug.[Ch]: add a new EXTERNAL tag.
4301
4302 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4303
4304         * text2.C (cursorEnd): simplify
4305         (setCursor): adjust
4306         (getColumnNearX): adjust
4307
4308         * text.C (computeBidiTables): adjust
4309         (fill): adjust
4310
4311         * rowpainter.C (paintChars): adjust
4312         (paintSelection): adjust
4313         (paintChangeBar): adjust
4314         (paintText): adjust
4315
4316         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4317         lastPos instead.
4318         (numberOfSeparators): adjust
4319
4320 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4321
4322         * LyXAction.C:
4323         * box.[Ch]:
4324         * lfuns.h:
4325         * lyxfunc.C:
4326         * text3.C: Restricts the mouse click functionality
4327         of insets like bibtex, include, toc and floatlist to the visible
4328         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4329         up the dialogs. Cursor has to be in front of the inset (i.e.
4330         start of row) for this to function.
4331
4332 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4333
4334         * bufferview_funcs.C (currentState): output row information
4335
4336 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4337
4338         * bufferview_funcs.C (currentState): output paragraph position
4339
4340 2003-09-04  Angus Leeming  <leeming@lyx.org>
4341
4342         * FloatList.h: move out #include "Floating.h".
4343         * LaTeX.h: move out #include "DepTable.h".
4344         * LyXAction.h: move out #include "funcrequest.h".
4345         * buffer.h: move out #include "author.h", "iterators.h".
4346         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4347         * lyx_main.h: move out #include "errorlist.h".
4348         * lyxfunc.h: move out #include "FuncStatus.h".
4349         * lyxtext: move out #include "lyxcursor.h".
4350         * paragraph_pimpl.h: move out #include "counters.h".
4351
4352 2003-09-03  Angus Leeming  <leeming@lyx.org>
4353
4354         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4355         preamble_snippets list, enabling us to add snippets to the preamble
4356         only if the snippet was not there already.
4357
4358 2003-09-04  Angus Leeming  <leeming@lyx.org>
4359
4360         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4361
4362 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4365         update
4366
4367 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4368
4369         * BranchList.C: point fix, earlier forgotten
4370
4371 2003-09-02  Angus Leeming  <leeming@lyx.org>
4372
4373         * box.C (contains): renamed from 'contained' after a fantastic
4374         amount of hot air.
4375
4376 2003-09-02  John Levon  <levon@movementarian.org>
4377
4378         * BufferView.C:
4379         * lyxcursor.h:
4380         * lyxcursor.C:
4381         * lyxfunc.C:
4382         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4383
4384 2003-09-02  John Levon  <levon@movementarian.org>
4385
4386         * text2.C: simplification of cursorEnd(), including partial
4387         fix for bug 1376
4388
4389 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4390
4391         * buffer.C (readFile): add a space
4392
4393 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4394
4395         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4396
4397 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * buffer.C (readFile): new function, take a filename and a
4400         ParagraphList::iterator
4401         (readFile): adjust
4402         (readFile): adjust, make it private. don't use setStream, make
4403         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4404         always contain the filename.
4405
4406         * BufferView.C (insertLyXFile): simplify and make it work for
4407         gzipped files.
4408
4409 2003-08-30  John Levon  <levon@movementarian.org>
4410
4411         * Makefile.am: fix dist (from Kayvan)
4412
4413 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4414
4415         * most files: change to use const Buffer refs
4416
4417 2003-08-27  André Pönitz  <poenitz@gmx.net>
4418
4419         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4420         on top of ownerPar().
4421
4422 2003-08-27  John Levon  <levon@movementarian.org>
4423
4424         * funcrequest.C: properly initialise POD members
4425
4426 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4427
4428         * lyxtext.h (top_y): move top_y from here
4429         * text.C:
4430         * text2.C:
4431         * text3.C:
4432         * BufferView.[Ch]:
4433         * BufferView_pimpl.[Ch]: to here
4434         * frontends/screen.C:
4435         * insets/insettabular.C:
4436         * insets/insettext.C: adjust
4437         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4438
4439 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4440
4441         * BufferView.[Ch]:
4442         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4443
4444 2003-08-26  André Pönitz  <poenitz@gmx.net>
4445
4446         * paragraph_func.[Ch] (outerPar): new function
4447
4448         * paragraph.C:
4449         * paragraph_funcs.C:
4450         * paragraph_funcs.h:
4451         * paragraph_pimpl.C:
4452         * text2.C: remove Inset::par_owner
4453
4454 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4455
4456         * lyxrow_funcs.C:
4457         * lyxtext.h:
4458         * text.C:
4459         * text2.C: eliminates the needFullRow/display() stuff
4460         altogether, putting the logic in metrics/draw in the insets.
4461
4462 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * text2.C (redoParagraphInternal, redoParagraphs):
4465         * text.C (redoParagraph): add a call to updateRowPositions at the
4466         end of each 'metrics-like' call. Remove all others.
4467         (getRow): remove the 'y-computing' version.
4468         (getRowNearY): do not compute nor return the real y. Solve the
4469         'y < 0' problem and simplify.
4470
4471 2003-08-22  Angus Leeming  <leeming@lyx.org>
4472
4473         * *.[Ch]: clean-up of licence and author blurbs.
4474         Also move config.h out of a few .h files and into a few .C files.
4475
4476 2003-08-22  André Pönitz  <poenitz@gmx.net>
4477
4478         * lyxrow.[Ch]: add x_ and *fill_ members
4479
4480         * lyxtext.h:
4481         * text.C:
4482         * rowpainter.C:
4483         * text2.C: adjust/remove prepareToPrint() calls
4484
4485 2003-08-22  André Pönitz  <poenitz@gmx.net>
4486
4487         * lyxrow.[Ch]: add  end_ member
4488
4489         * lyxrow_funcs.C: use LyXRow::end_
4490
4491         * lyxtext.h (singleWidth): add LyXFont parameter
4492
4493         * rowpainter.C:
4494         * text2.C: adjust LyXText::singleWidth() calls
4495
4496         * text.C (redoParagraph): simplify row breaking logic
4497
4498
4499 2003-08-19  André Pönitz  <poenitz@gmx.net>
4500
4501         * funcrequest.C: initialize button_ member
4502
4503         * text3.C:
4504         * rowpainter.[Ch]: interface consolidation
4505
4506 2003-08-18  André Pönitz  <poenitz@gmx.net>
4507
4508         * BufferView.C:
4509         * BufferView_pimpl.C:
4510         * lyxfind.C:
4511         * paragraph_funcs.C:
4512         * rowpainter.C:
4513         * text3.C: remove LyXScreen::draw() and fitCursor calls
4514
4515         * BranchList.h: remove spurious semicolons
4516
4517         * MenuBackend.C: fix branchlist related crash
4518
4519 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4520
4521         * BranchList.[Ch]:
4522         * InsetList.[Ch]:
4523         * LColor.[Ch]:
4524         * LyXAction.C:
4525         * Makefile.am:
4526         * MenuBackend.[Ch]:
4527         * bufferparams.[Ch]:
4528         * factory.C:
4529         * lfuns.h:
4530         * lyxfunc.C:
4531         * text3.C: implements the 'branch inset'
4532         idea. This allows the output of various versions of a document
4533         from a single source version, selectively outputing or suppressing
4534         output of parts of the text.
4535         This implementation contains a 'branch list editor' in a separate
4536         tab of the document settings dialog. Branches are user definable
4537         and have a "display colour" to distinguish them on-screen.
4538
4539         ColorHandler was somewhat cleaned up.
4540         (1) make possible a dynamically growing LColor list by allowing
4541         the graphic context cache to grow along (vector);
4542         (2) eliminate an IMHO unnecessary step in colour allocation.
4543
4544 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4545
4546         * BufferView_pimpl.C: compile fix
4547
4548 2003-08-15  André Pönitz  <poenitz@gmx.net>
4549
4550         * rowpainter.C: remove extra metrics calls
4551
4552         * lyxtext.h: merge the two constructors into a single one,
4553           pass reference to owner's par list
4554
4555         * BufferView_pimpl.C:
4556         * text.C:
4557         * text2.C: adjust
4558
4559 2003-08-15  André Pönitz  <poenitz@gmx.net>
4560
4561         * lyxrow_funcs.[Ch]:
4562         * lyxtext.h:
4563         * paragraph.h:
4564         * paragraph_funcs.C:
4565         * rowpainter.C:
4566         * text.C:
4567         * text2.C:
4568         * text3.C:
4569         * text_funcs.C: split LyXText::rowlist_ into individual
4570         Paragraph::rows_ chunks
4571
4572         * BufferView.[Ch]:
4573         * BufferView_pimpl.[Ch]:
4574         * lyxfind.C:
4575         * lyxtext.h:
4576         * text3.C: remove toggleSelection()
4577
4578 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4579
4580         * bufferlist.C: beautify two alerts (shorter text of buttons)
4581         * buffer.C: Remove redundant ' ' from message
4582         * tabular.h:
4583         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4584         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4585         rename VALIGN_CENTER to VALIGN_MIDDLE
4586
4587 2003-08-11  André Pönitz  <poenitz@gmx.net>
4588
4589         * lyxtext.h (getPar):
4590         * text.C: new function
4591
4592 2003-08-11  André Pönitz  <poenitz@gmx.net>
4593
4594         * Makefile.am:
4595         * tracer.[Ch]: remove unneeded files
4596
4597         * InsetList.[Ch]: remove resizeInsetsLyXText()
4598
4599         * lyxtext.h:
4600         * text.C:
4601         * text2.C:
4602         * text3.C: merge insertParagraphs() and appendParagraph()
4603         remove breakAgain(), update()
4604
4605         * BufferView_pimpl.[Ch]:
4606         * bufferview_funcs.[Ch]:
4607         * lyxfunc.C:
4608         * paragraph.[Ch]:
4609         * rowpainter.C:
4610         * tabular.C: adjust after text & InsetList changes.
4611
4612 2003-08-08  André Pönitz  <poenitz@gmx.net>
4613
4614         * text.C (insertChar, backspace): replace rowlist fiddling
4615         with rebreak of full par
4616
4617         * lyxtext.h:
4618         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4619         checkParagraph, updateInset): removed
4620
4621 2003-08-07  André Pönitz  <poenitz@gmx.net>
4622
4623         * paragraph.C:
4624         * text3.C: merge some LFUN handlers, remove dead code
4625
4626 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4627
4628         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4629
4630 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * text2.C (DEPM): fix part of bug 1255 and 1256
4633
4634 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4635
4636         * BufferView_pimpl.C (workAreaDispatch): change to use
4637         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4638         that are no mouse related.
4639
4640 2003-08-05  André Pönitz  <poenitz@gmx.net>
4641
4642         * BufferView.[Ch]:
4643         * BufferView_pimpl.[Ch]:
4644         * bufferview_funcs.C:
4645         * text2.C:
4646         * text3.C: rip out "deep update"
4647
4648         * textcursor.[Ch] (last_sel_cursor): remove unused member
4649
4650 2003-08-04  André Pönitz  <poenitz@gmx.net>
4651
4652         * BufferView.[Ch]:
4653         * BufferView_pimpl.[Ch]:
4654         * ParagraphParameters.C:
4655         * bufferview_funcs.C:
4656         * lyx_cb.C:
4657         * lyxfind.C:
4658         * lyxfunc.C:
4659         * text.C:
4660         * text2.C:
4661         * text3.C: replace "complicated" BufferView::update(...) calls with
4662         simpler ones.
4663
4664         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4665
4666 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4667
4668         * Makefile.am (lyx_SOURCES): add paper.h
4669
4670 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4671
4672         * Makefile.am: move things around so that both lyx-qt and
4673         lyx-xforms can be built (according to --with-frontend). Then lyx
4674         is a symbolic link to lyx-[firstfrontend]
4675
4676 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4677
4678         * Always use std::endl with lyxerr
4679
4680 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4681
4682         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4683
4684 2003-08-01  André Pönitz  <poenitz@gmx.net>
4685
4686         * BufferView.[Ch]:
4687         * BufferView_pimpl.[Ch]:
4688         * lyxfunc.C:
4689         * text3.C: merge BufferView::repaint() and BufferView::update()
4690
4691 2003-08-01  José Matos  <jamatos@lyx.org>
4692
4693         * buffer.[Ch]: file_format is no longer a buffer data element.
4694
4695 2003-08-01  André Pönitz  <poenitz@gmx.net>
4696
4697         * BufferView.C:
4698         * lyxtext.h:
4699         * text.C:
4700         * text2.C: make redoParagraph more independent of current cursor
4701
4702         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4703         * text.C:
4704         * text2.C: remove unneeded members
4705
4706 2003-07-30  André Pönitz  <poenitz@gmx.net>
4707
4708         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4709
4710         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4711           create a single function...
4712
4713         * paragraph_funcs.C (moveItem): ... here.
4714
4715         * text.C:
4716           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4717
4718 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4719
4720         * LColor.[Ch]: Add comment and greyedout logical colors.
4721
4722 2003-07-30  André Pönitz  <poenitz@gmx.net>
4723
4724         * tabular.C: don't use Assert too heavily. This crashes where it
4725           shouldn't
4726
4727 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4728
4729         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4730         is disabled (bug 1232)
4731
4732 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4733
4734         * factory.C: limited 'arg' scope
4735
4736 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4737
4738         * factory.C: fixed Note submenu issues
4739
4740 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4741
4742         * factory.C: submenu for Note/Comment/Greyedout
4743
4744 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4745
4746         * lyx_main.C (LyX):
4747         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4748
4749 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4750
4751         * LaTeXFeatures.C:
4752         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4753         greyedout. Patch provided by Jürgen Spitzmüller.
4754
4755 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4756
4757         * kbmap.C (read): fix error message when reading bind files
4758
4759 2003-07-29  Angus Leeming  <leeming@lyx.org>
4760
4761         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4762         certainly does not do what it purports to do. I am doing it, and
4763         us, a favour by killing it.
4764
4765 2003-07-28  José Matos  <jamatos@lyx.org>
4766
4767         * buffer.C (readBody, do_writeFile):
4768         * paragraph.C(readParagraph): \end_document replaces \the_end.
4769
4770 2003-07-29  André Pönitz  <poenitz@gmx.net>
4771
4772         * BufferView.[Ch]:
4773         * BufferView_pimpl.[Ch]:
4774         * lyxfunc.C:
4775         * text2.C:
4776         * text3.C:
4777         * textcursor.[Ch]: remove toggleToggle & Co
4778
4779 2003-07-28  José Matos  <jamatos@fep.up.pt>
4780
4781         * buffer.C (readParagraph):
4782         * params_func (readParToken, readParagraph):
4783         * paragraph.C (write): \layout -> \begin_layout.
4784
4785 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4786
4787         * lyxlex_pimpl.C (setFile): clean up slightly.
4788
4789         * bufferparams.h: add compressed var
4790
4791         * buffer_funcs.C (readFile): adjust for LyXLex change
4792         (newFile): ditto + simplify
4793
4794         * buffer.C (writeFile): handle writing of compressed files
4795
4796         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4797         Check if the file is compressed and set a bufferparm if so.
4798
4799         * Makefile.am (lyx_LDADD): remove explicit -lz
4800
4801 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4802
4803         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4804         makeDocBookFile): put the real LyX version in the first line of
4805         the file
4806
4807         * version.h:
4808         * version.C.in: remove lyx_docversion
4809
4810         * tabular.C (write_attribute): add a template-based version to
4811         write enums properly
4812
4813 2003-07-28  André Pönitz  <poenitz@gmx.net>
4814
4815         * lyxtext.h:
4816         * text.C:
4817         * text2.C:
4818         * text3.C: use doubles again for x-coordinates. They are needed.
4819
4820 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4821
4822         * messages.C (getLocaleDir): use lyx_localedir()
4823
4824         * lyxlex_pimpl.C (setFile): compress stuff
4825
4826         * buffer.C (writeFile): add some compression stuff
4827         (do_writeFile): new func, dont call expliti close... will this
4828         breake anything?
4829
4830         * Makefile.am (lyx_LDADD): add -lz
4831
4832 2003-07-28  José Matos  <jamatos@fep.up.pt>
4833
4834         * buffer.C: increment file format.
4835         * paragraph_funcs (readParagraph, readParToken):
4836         * paragraph.C (readParagraph): add \end_layout.
4837
4838 2003-07-27  Angus Leeming  <leeming@lyx.org>
4839
4840         * Makefile.am: remove special casing for configure-time setting of
4841         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4842
4843         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4844         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4845
4846 2003-07-26  André Pönitz  <poenitz@gmx.net>
4847
4848         * paragraph_func.[Ch]:
4849         * paragraph.C (realizeFont): inline it whereever it is used
4850
4851         * rowpainter.C:
4852         * text.C:
4853         * text2.C:
4854         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4855
4856
4857 2003-07-26  André Pönitz  <poenitz@gmx.net>
4858
4859         *       lyxtext.h:
4860         * text.C:
4861         * text2.C: get rid of LyXText::need_break_row
4862
4863 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * toc.[Ch]: put namespace toc inside namespace lyx
4866
4867         * MenuBackend.C (expandToc2): adjust for lyx::toc
4868         (expandToc): ditto
4869
4870         * lyxfunc.C (dispatch): adjust for lyx::find
4871
4872         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4873         lyx::find instead. Reorganize a bit.
4874         (LyXReplace): rename to replace
4875         (LyXFind): rename to find
4876
4877         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4878         (dispatch): ditto
4879
4880 2003-07-26  André Pönitz  <poenitz@gmx.net>
4881
4882         * text.C (setHeightOfRow): restrict scope of temporary variable
4883
4884         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4885           code (never has been used?)
4886
4887 2003-07-27  Asger Alstrup  <alstrup@local>
4888
4889         * text.C (fill): Optimise algorithm to exploit that we can reuse
4890         the LyXFont for many characters.
4891         (setHeightOfRow): Same thing.
4892         (rowBreakPoint): Same thing.
4893
4894 2003-07-26  Asger Alstrup  <alstrup@local>
4895
4896         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4897
4898         * text.C (singleWidth): Spurious font copying in hot-spot
4899         singleWidth avoided. Reorder tests for arabic for efficiency.
4900
4901         * text.C (fill): handle empty paragraphs better.
4902
4903 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4904
4905         * ispell.C:
4906         * encoding.h: add includes
4907
4908         * lyxrc.C: remove reading of bind files
4909
4910         * lyx_main.C (init): setup bindings and menus only if we have a
4911         gui.
4912
4913         * kbmap.C (read): new method. Do the actual reading of bind
4914         files.
4915
4916         * converter.C (dvipdfm_options):
4917         * bufferparams.C:
4918         * lyxrc.C (read):
4919         (output): adapt PAPER_* enums.
4920
4921         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4922
4923         * bufferparams.h: remove paper-related enums from there
4924
4925         * paper.h: New file. A trivial header file to hold paper-related
4926         enums. It should later expand to contain many paper-related
4927         horrors access.
4928
4929         * lyxrc.C: declare extern displayTranslator
4930
4931 2003-07-27  José Matos  <jamatos@fep.up.pt>
4932
4933         * tabular.[Ch] (linuxdoc): add support for tables and figures
4934         (linuxdoc).
4935
4936 2003-07-27  José Matos  <jamatos@fep.up.pt>
4937
4938         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4939         consistency in both functions.
4940         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4941
4942 2003-07-26  Asger Alstrup  <alstrup@local>
4943
4944         * rowpainter.C (paintRows): Change algorithm to work directly on
4945         the insets rather than asking every character in the document
4946         whether its an inset.
4947
4948 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4949
4950         * buffer.C (openFileWrite): factorize some code
4951
4952 2003-07-26  Angus Leeming  <leeming@lyx.org>
4953
4954         * lyx_cb.C:
4955         * lyx_main.[Ch]: replace occurances of system_tempdir with
4956         os::getTmpDir().
4957
4958 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4959
4960         * rename Inset to InsetOld
4961
4962 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4963
4964         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4965         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4966         which I think is a bit clearer. EDIT is gone, since it was
4967         premature optimisation, and broken for mathed anyway.
4968         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4969         with cursor positioning in insets as well (math insets still do not
4970         work, but that's a different story anyway.) It mysteriously
4971         crashes sometimes with undo in the first paragraph, but I'm fairly
4972         confident that this is a compiler bug.
4973
4974 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * paragraph.C (Paragraph): adjust for new clone return type
4977         (operator==): ditto
4978         (copyIntoMinibuffer): ditto
4979
4980 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4981
4982         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4983         by not having a special case, and always doing a full rebreak of
4984         the document after undo.
4985
4986 2003-07-23  Angus Leeming  <leeming@lyx.org>
4987
4988         * factory.C (createInset): InsetExternal::setParams now takes a
4989         Buffer const * arg.
4990
4991 2003-07-23  Angus Leeming  <leeming@lyx.org>
4992
4993         * factory.C (createInset): changed interface to the external and
4994         graphics mailers' string2params functions.
4995
4996 2003-07-23  Angus Leeming  <leeming@lyx.org>
4997
4998         * factory.C (createInset): pass a
4999         Buffer const * parameter to InsetExternalMailer's string2params.
5000
5001 2003-07-22  John Levon  <levon@movementarian.org>
5002
5003         * Thesaurus.h: include the right aiksaurus header
5004
5005 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5006
5007         * MenuBackend.C (expand): check menu shortcuts unconditionally
5008
5009 2003-07-21  Angus Leeming  <leeming@lyx.org>
5010
5011         * factory.C (createInset): pass a
5012         buffer_path parameter to InsetGraphicsMailer's string2params.
5013
5014 2003-07-21  Angus Leeming  <leeming@lyx.org>
5015
5016         * BufferView_pimpl.C (buffer):
5017         * buffer.C (d-tor):
5018         * lyx_main.C (LyX):
5019         * lyxfunc.C (dispatch):
5020         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5021         rather than the grfx shortcut.
5022
5023 2003-07-21  André Pönitz  <poenitz@gmx.net>
5024
5025         * rowpainter.C: remove unused variables
5026
5027         * tabular_funcs.C:
5028         * tabular_funcs.h: move to tabular.C
5029         * Makefile.am: adjust
5030
5031         * tabular.[Ch]: basic optical cleaning
5032
5033         * author.h: pass references, not values
5034
5035 2003-07-18  André Pönitz  <poenitz@gmx.net>
5036
5037         * lyxtext.h:
5038         * metricsinfo.C:
5039         * metricsinfo.h:
5040         * rowpainter.C:
5041         * text.C:
5042         * text2.C:
5043         * text3.C: two-phase drawing for InsetText and InsetTabular
5044         some float -> int changes.
5045
5046 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5047
5048         * lyx_main.C: fix the fix
5049
5050 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5051
5052         * lyx_main.C: fix a crash in batch mode if no files specified
5053         * converter.C: ws
5054
5055 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5056
5057         * format.[Ch] (papersize): moved to BufferParams
5058         * converter.[Ch] (dvips_options): moved to BufferParams
5059         (dvipdfm_options): moved to anon namespace
5060         * bufferparams.[Ch]: added above functions.
5061
5062 2003-07-17  André Pönitz  <poenitz@gmx.net>
5063
5064         * lyxtext.h:
5065         * rowpainter.C:
5066         * text2.C: don't call inset->update() anymore
5067
5068         * metricsinfo.[Ch]: add convenience constructor
5069
5070 2003-07-16  André Pönitz  <poenitz@gmx.net>
5071
5072         * lyxcursor.[Ch]:
5073         * lyxfunc.[Ch]:
5074         * text.C:
5075         * text2.C: replace the LyXCursor::irow_ member with
5076          on-demand computation of the value
5077
5078 2003-07-16  John Levon  <levon@movementarian.org>
5079
5080         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5081
5082 2003-07-15  André Pönitz  <poenitz@gmx.net>
5083
5084         * text.C:
5085         * text2.C: remove no more needed refresh_row
5086
5087 2003-07-15  André Pönitz  <poenitz@gmx.net>
5088
5089         * lyxtext.h:
5090         * rowpainter.C:
5091         * text2.C:
5092         * text3.C: refresh_status tristate -> need_update bool
5093
5094 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * lyxtext.h (init): remove reinit argument (act as if always true)
5097         * text2.C: adjust to that
5098
5099 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5100
5101         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5102         * text3.C: use it to delete selections in some cases
5103         (bugs 441, 673, 702, 954).
5104
5105 2003-07-14  André Pönitz  <poenitz@gmx.net>
5106
5107         * rowpainter.[Ch]: reduce interface
5108
5109 2003-07-14  André Pönitz  <poenitz@gmx.net>
5110
5111         * BufferView_pimpl.C:
5112         * text2.C: adjust after removing unused BufferView * argument
5113
5114 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5115
5116         * text2.C (init): fix a crash fired on resize
5117
5118 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5119
5120         * buffer.[Ch]: added new closing signal
5121         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5122         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5123         BufferView::Pimpl via the closing the signal
5124
5125 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5126
5127         * buffer.[Ch]: take out all bv-related from buffer
5128         * BufferView.C:
5129         * BufferView_pimpl.[Ch]: connect to new signals
5130         * CutAndPaste.C: removed useless asserts
5131         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5132         * lyxvc.[Ch]:
5133         * vc-backend.[Ch]:
5134         * lyxfunc.C: moved view-related funciontality from vc here
5135         * paragraph.C: removed outdated comments
5136         * text.C: ws
5137
5138 2003-07-10  André Pönitz  <poenitz@gmx.net>
5139
5140         * BufferView_pimpl.C:
5141         * tabular.h:
5142         * tabular_funcs.C:
5143         * text.C:
5144         * text2.C: remove InsetText::InnerCache, clean up consequences
5145
5146 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5147
5148         * ispell.C: fix two typos in error messages
5149
5150 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5151
5152         * Extend Note inset to other forms of annotation like Comment
5153         and Greyedout. Right button click gives dialog.
5154
5155         Files modified or added (+):
5156
5157         * insetnote.[Ch]
5158         * FormNote.[Ch]      +
5159         * ControlNote.[Ch]   +
5160         * form_note.fd       +
5161         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5162         frontends/controllers
5163         * xforms/Dialogs.C
5164         * factory.C
5165
5166 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5167
5168         * aspell.C: add missing namespace lyx::support
5169
5170 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5171
5172         * BufferView.[Ch] (newFile): Add
5173         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5174         * LaTeX.[Ch] (message): added this signal and use it
5175         * buffer.[Ch] (busy, message): added these signals and use them
5176         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5177         * converter.C:
5178         * exporter.C:
5179         * format.C:
5180         * importer.C: use buffer signals instead of direct bv calling
5181         * lyx_cb.[Ch] (ShowMessage): removed
5182         * lyx_main.C:
5183         * lyxfunc.C:
5184         * paragraph_funcs.C:
5185         * text2.C: use buffer signals
5186
5187 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * introduce namespace lyx::graphics
5190
5191 2003-07-02  André Pönitz  <poenitz@gmx.net>
5192
5193         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5194
5195 2003-07-01  André Pönitz  <poenitz@gmx.net>
5196
5197         * text.C:
5198         * text2.C:
5199         * text3.C:
5200         * text_funcs.[Ch]:
5201         * textcursor.h:
5202         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5203           text*.C to text_func.C
5204
5205 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * introduce namespace lyx::support
5208
5209 2003-06-30  André Pönitz  <poenitz@gmx.net>
5210
5211         * Chktex.C:
5212         * funcrequest.C:
5213         * lyxtext.h:
5214         * text.C: re-enable --with-included-string
5215
5216 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * textcursor.C: add <config.h>
5219
5220         * text.C (getWord): remove const from word_location arg
5221
5222         * lyxvc.C (getLogFile): fix const type order
5223
5224         * lyxtext.h: remove const from word_location arg, add arg name
5225
5226         * lyxlayout.h: currect type on labeltype.
5227
5228         * importer.C: correct \file
5229
5230         * converter.C (intToFormat): use std:: on ret val, ws changes
5231
5232         * bufferlist.h: correct \file
5233
5234         * buffer.C (makeLinuxDocFile): fix const type order
5235         (makeDocBookFile): ditto
5236         (fillWithBibKeys): use std:: on stdlib args.
5237
5238         * CutAndPaste.C: fix authors.
5239         (availableSelections): use std:: on return vector
5240
5241 2003-06-27  André Pönitz  <poenitz@gmx.net>
5242
5243         * BufferView_pimpl.C:
5244         * bufferview_funcs.C:
5245         * lyxcursor.C:
5246         * lyxcursor.h:
5247         * lyxfunc.C:
5248         * lyxtext.h:
5249         * rowpainter.C:
5250         * text.C:
5251         * text2.C:
5252         * text3.C: remove LyXCursor::row_ member
5253
5254         * lyxtext.h:
5255         * text.C: rename fullRebreak() to partialRebreak() and implement
5256           a fullRebreak() that really bereks fully
5257
5258         * textcursor.h: new struct for cursor-related data
5259
5260 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5261
5262         * lyx_main.C (LyX): get full path of document loaded on the
5263         command line
5264
5265 2003-06-26  André Pönitz  <poenitz@gmx.net>
5266
5267         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5268           remove unused/broken operator>,<,>=.
5269
5270         *       text.C: remove only use of broken operator<= in an Assert().
5271
5272 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5273
5274         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5275         moved errorlist_.clear to showErrorList
5276
5277 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5278
5279         * converter.C (scanLog, runLaTeX):
5280         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5281         move the bv->showErrorList call to the callers
5282         * lyxfunc.C: i.e. here...
5283         * text2.C: and here
5284         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5285         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5286         namespace, the second to...
5287         * buffer_funcs (BufferFormat, parseErrors): added
5288         * errorlist.C (ErrorList(TeXErrors const &)): removed
5289
5290 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5291
5292         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5293
5294 2003-06-24  "Garst R. Reese" <reese@isn.net>
5295
5296         * debug.C: fix typo
5297
5298 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5299
5300         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5301
5302         * version.C.in: change docversion to 1.4
5303
5304 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5305
5306         * buffer.C: fix a bug just introduced
5307
5308 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5309
5310         * buffer.[Ch]: added the parseError signal and use it, removed
5311         sgmlError
5312         * BufferView.[Ch] (addError): moved to ...
5313         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5314         to the Buffer::parseError signal to catch (guess what) parse errors
5315         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5316
5317 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5318
5319         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5320         ability to create a buffer and to return an existing one from
5321         the list. Moved these functions to...
5322         * buffer_funcs.[Ch]: added
5323         * BufferView.[Ch] (loadLyXFile): added
5324         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5325         job removed from bufferlist::loadLyXFile.
5326         * buffer.C (setReadOnly): make it work without view
5327         (i.e added an if (users))
5328
5329 2003-06-19  Angus Leeming  <leeming@lyx.org>
5330
5331         * lfuns.h:
5332         * LyXAction.C (init):
5333         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5334         with LFUN_DIALOG_SHOW <name> <data>.
5335
5336 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5337
5338         * CutAndPaste.C (availableSelections): small compilation fix for
5339         ancient (gcc 2.9x) compilers
5340
5341 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * text3.C (cursorNext): add tmp var
5344
5345         * text2.C (updateCounters): for function calling out of for clause
5346         (replaceSelectionWithString): ditto
5347         (insertStringAsParagraphs): ditto
5348         (getColumnNearX): add tmp var
5349         (setCursorFromCoordinates): add tmp var
5350         (cursorDownParagraph): add tmp var
5351         (deleteEmptyParagraphMechanism): add tmp var
5352
5353         * text.C (insertChar): add tmp var
5354
5355         * rowpainter.C (paintDepthBar): add tmp var
5356
5357         * CutAndPaste.C (availableSelections): potentially check all
5358         paragraphs in a cut to fill the shown strings.
5359
5360 2003-06-18  André Pönitz  <poenitz@gmx.net>
5361
5362         * kbmap.[Ch]: use vector<> instead of list<>
5363
5364 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5365
5366         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5367         pasteSelection with index
5368
5369         * text2.C (pasteSelection): modify, call pasteSelection with index
5370
5371         * paragraph.C (asString): reimplement version with no interval to
5372         call the one with interval.
5373
5374         * lyxtext.h: add index arg to pasteSelection
5375
5376         * MenuBackend.C (MenuItem): handle PasteRecent
5377         (Menu::read::Menutags): add md_pasterecent
5378         (read): handle it
5379         (expandPasteRecent): new function
5380         (expand): use it
5381
5382         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5383
5384         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5385         the limited stack
5386         (availableSelections): new function
5387
5388 2003-06-17  Angus Leeming  <leeming@lyx.org>
5389
5390         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5391
5392 2003-06-17  Angus Leeming  <leeming@lyx.org>
5393
5394         * lfuns.h:
5395         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5396
5397         * lyxfunc.C (dispatch): invoke it.
5398
5399 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5400
5401         * iterators.C (operator++, ParPosition): reintroduce some
5402         const_cast for the benefit of older compilers.
5403
5404 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5405
5406         * text3.C (dispatch): do not modify clipboard when doing
5407         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5408         LFUN_DELETE_SKIP on a selection selection
5409
5410 2003-06-16  André Pönitz  <poenitz@gmx.net>
5411
5412         * BufferView.C:
5413         * buffer.C:
5414         * buffer.h:
5415         * paragraph.C:
5416         * tabular.[Ch]: IU of clone() and getLabelList();
5417
5418 2003-06-13  André Pönitz  <poenitz@gmx.net>
5419
5420         * tabular.h: compactification
5421
5422 2003-06-12  André Pönitz  <poenitz@gmx.net>
5423
5424         * tabular.C:
5425         * tabular.h:
5426         * tabular_funcs.h: some renaming plus whitespace
5427
5428 2003-06-12  André Pönitz  <poenitz@gmx.net>
5429
5430         * BufferView.C:
5431         * BufferView_pimpl.C:
5432         * CutAndPaste.C:
5433         * buffer.C:
5434         * iterators.[Ch]:
5435         * lyxfunc.C:
5436         * text.C:
5437         * toc.C: Return a Paragraph & for ParIterator::operator*()
5438
5439 2003-06-11  John Levon  <levon@movementarian.org>
5440
5441         * lyx_main.C:
5442         * ToolbarBackend.h:
5443         * ToolbarBackend.C: add "Toolbars" section and
5444         put the flags there
5445
5446 2003-06-10  Angus Leeming  <leeming@lyx.org>
5447
5448         * lfuns.h:
5449         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5450
5451         * lyxfunc.C (dispatch): invoke it.
5452
5453 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5454
5455         * main.C: protect <ios> with HAVE_IOS
5456         (main): protect sync_with_stdio with HAVE_IOS
5457
5458 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5459
5460         * text2.C (cutSelection): adjust
5461         (pasteSelection): adjust
5462
5463         * messages.C: handle get of empty string
5464
5465         * main.C (main): use sync_with_stdio(false)
5466
5467         * lyxfunc.C (dispatch): adjust
5468
5469         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5470         (WriteAs): remove unneeded BufferView arg.
5471
5472         * bufferparams.h: use correct types on papersize, papersize2 and
5473         paperpackage.
5474
5475         * bufferparams.C (readToken): adjust for type
5476         (writeLaTeX): add missing cases to switch.
5477
5478         * bufferlist.C (quitWriteBuffer): adjust
5479         (close): adjust
5480
5481         * buffer.C (asciiParagraph): remove some commented code.
5482
5483         * CutAndPaste.C: remove current_view extern variable.
5484         (cutSelection): add BufferParams arg.
5485         (eraseSelection): add BufferParams arg.
5486         (pasteSelection): add Buffer const & arg
5487
5488 2003-06-07  John Levon  <levon@movementarian.org>
5489
5490         * buffer.C:
5491         * paragraph_funcs.C:
5492         * paragraph_pimpl.C:
5493         * text.C:
5494         * text2.C:
5495         * paragraph.h:
5496         * paragraph.C: allow InsetERT to freely space lines,
5497         and some consolidation of code
5498
5499 2003-06-06  José Matos  <jamatos@fep.up.pt>
5500
5501         * buffer.C (makeDocBookFile): fix bug #821
5502
5503 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5504
5505         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5506
5507 2003-06-04  Angus Leeming  <leeming@lyx.org>
5508
5509         * buffer.C: bump format to 224.
5510
5511 2003-06-05  André Pönitz  <poenitz@gmx.net>
5512
5513         * text2.C (redoParagraphs): remove two const_cast<>
5514
5515 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5516
5517         * ParagraphList.h: remove last remnants of NO_STD_LIST
5518
5519 2003-06-03  Angus Leeming  <leeming@lyx.org>
5520
5521         * factory.C (createInset): small change to the way InsetExternal's params
5522         are set.
5523
5524 2003-06-04  André Pönitz  <poenitz@gmx.net>
5525
5526         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5527
5528         * paragraph_pimpl.h:
5529         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5530
5531         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5532
5533         * undo_funcs.C: make some simple cases of undo work again
5534
5535 2003-06-03  John Levon  <levon@movementarian.org>
5536
5537         * ispell.C: HPUX doesn't have sys/select.h
5538         (from Albert Chin)
5539
5540 2003-06-03  John Levon  <levon@movementarian.org>
5541
5542         * CutAndPaste.C: update tabular and include inset
5543         buffer references
5544
5545         * buffer.h:
5546         * paragraph.h:
5547         * paragraph.C: remove owningBuffer(), don't pass Buffer
5548         to clone()
5549
5550         * factory.C: insetGraphicsParams changed
5551
5552 2003-06-02  John Levon  <levon@movementarian.org>
5553
5554         * LyXAction.C:
5555         * factory.C:
5556         * lfuns.h:
5557         * lyxfunc.C:
5558         * text3.C: remove insetparent
5559
5560 2003-06-02  John Levon  <levon@movementarian.org>
5561
5562         * buffer.h:
5563         * buffer.C: fix inset_iterator.end(), move out of line
5564         (bug 1149)
5565
5566 2003-06-01  John Levon  <levon@movementarian.org>
5567
5568         * text3.C: use a proper cut/paste when doing inset
5569         insert (from Jürgen Spitzmüller)
5570
5571 2003-06-01  John Levon  <levon@movementarian.org>
5572
5573         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5574
5575 2003-05-30  André Pönitz  <poenitz@gmx.net>
5576
5577         * rowpainter.C: unify second drawing phase
5578
5579 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * trans_mgr.C: remove one case of current_view
5582
5583         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5584
5585         * paragraph_funcs.h: remove paragraph.h include
5586
5587         * paragraph.h: delete NO_STD_LIST stuff
5588
5589         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5590
5591         * buffer.h: remove paragraph.h include
5592
5593         * ParagraphList.C: delete file
5594
5595         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5596
5597         * toc.C (getTocList): adjust
5598
5599         * paragraph_pimpl.C (validate): adjust
5600
5601         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5602
5603         * paragraph.C (Paragraph): adjust
5604         (getPositionOfInset): use const_iterator, adjust
5605         (bibitem): use const_iterator, adjust
5606         (setInsetOwner): adjust
5607
5608         * iterators.C (operator++): adjust
5609
5610         * InsetList.[Ch]: Replace selfmade iterator with standard
5611         vector::iterator also introduce const_iterator. Remove getPos,
5612         getInset and setInset from InsetTable. Adjust accordingly.
5613
5614         * BufferView.C (lockInset): adjust
5615         (ChangeInsets): adjust
5616
5617         * tabular.[Ch]: delete commented same_id functions
5618
5619 2003-05-28  John Levon  <levon@movementarian.org>
5620
5621         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5622
5623 2003-05-28  André Pönitz  <poenitz@gmx.net>
5624
5625         * metricsinfo.[Ch]: remove 'fullredraw' member
5626
5627 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5628
5629         * lyxtextclass.C (operator): remove caching.
5630
5631 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * text3.C: adjust
5634
5635         * text2.C (cursorBottom): adjust
5636         (setCounter): use ParagraphList::find, adjust
5637
5638         * text.C (workWidth): use ParagraphList::find, adjust
5639
5640         * lyxcursor.C (LyXCursor): adjust
5641
5642         * buffer.C (inset_iterator): adjust
5643
5644         * ParagraphList.h: make iterator(value_type) private, make
5645         ParagraphList a friend of iterator.
5646
5647         * ParagraphList.C (find): new function
5648
5649         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5650
5651 2003-05-27  André Pönitz  <poenitz@gmx.net>
5652
5653         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5654
5655 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5656
5657         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5658
5659 2003-05-26  John Levon  <levon@movementarian.org>
5660
5661         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5662
5663 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5664
5665         * remove same_id from function signatures, adjust.
5666
5667 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5668
5669         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5670
5671         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5672
5673         * paragraph.C (Paragraph): get rid of same_ids parameter
5674
5675         * ParagraphList.C (insert): adjust
5676         (push_back): adjust
5677
5678 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5679
5680         * paragraph_funcs.C (breakParagraph): adjust
5681         (breakParagraphConservative): adjust
5682
5683         * buffer.C (readParagraph): adjust
5684
5685         * ParagraphList.C (insert): take a reference instead of a pointer
5686         (insert): adjust
5687
5688         * paragraph.[Ch] (id): new function
5689
5690         * bufferlist.C (newFile): adjust
5691
5692         * ParagraphList.C (ParagraphList): adjust
5693         (assign): adjust
5694         (push_back): take a reference instead of a pointer.
5695
5696         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5697
5698         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5699         instead.
5700
5701         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5702         set else use old code.
5703
5704         * ParagraphList.C: remove all NO_NEXT code and only compile this
5705         code of NO_STD_LIST is set.
5706
5707 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5708
5709         * BufferView_pimpl.C:
5710         * TextCache.C:
5711         * TextCache.h:
5712         * bufferlist.C:
5713         * errorlist.h:
5714         * format.C:
5715         * format.h:
5716         * graph.C:
5717         * lyxfunc.C:
5718         * lyxrc.C:
5719         * graphics/GraphicsConverter.C:
5720         * graphics/PreviewLoader.C: header adjustment
5721
5722 2003-05-23  Angus Leeming  <leeming@lyx.org>
5723
5724         * LaTeXFeatures.[Ch] (useBabel): new method.
5725         * bufferparams.C (writeLaTeX): use it.
5726
5727 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5728
5729         * ParagraphList.h (set): remove unused function.
5730
5731 2003-05-23  André Pönitz  <poenitz@gmx.net>
5732
5733         * BufferView.C:
5734         * BufferView_pimpl.C:
5735         * buffer.C:
5736         * buffer.h:
5737         * lyxfunc.C:
5738         * undo_funcs.C: setUndo reworked
5739
5740         * iterators.[Ch]: add access to topmost ParagraphList
5741
5742         * lyxtext.[Ch] (workWidth): add a const
5743
5744 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5745
5746         * texrow.[Ch] (increasePos): remove function
5747         * exporter.C (export): removed unused var and outdated comment
5748
5749 2003-05-23  Angus Leeming  <leeming@lyx.org>
5750
5751         * latexrunparams.h: rename fragile as moving_arg.
5752         * paragraph.C (simpleTeXOnePar): ditto.
5753         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5754
5755 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5756
5757         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5758         (createUndo): ditto
5759         (textUndoOrRedo): comment out a currently unused var.
5760
5761         * paragraph.h (NO_NEXT): enable NO_NEXT
5762
5763         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5764
5765         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5766
5767         * exporter.C (Export): adjust for removeAutoInsets removal.
5768
5769         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5770
5771         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5772
5773         * BufferView.[Ch] (removeAutoInsets): delete function
5774
5775 2003-05-22  Angus Leeming  <leeming@lyx.org>
5776
5777         * latexrunparams.h: add a free_spacing variable.
5778
5779         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5780         to pass moving_arg, as the data is stored in runparams.fragile.
5781
5782         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5783         to Inset::latexOptional or to simpleTeXOnePar.
5784
5785         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5786         free_spacing arg to Inset::latexOptional.
5787
5788         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5789         free_spacing arg.
5790
5791 2003-05-22  Angus Leeming  <leeming@lyx.org>
5792
5793         * latexrunparams.h: add fragile and use_babel variables.
5794
5795         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5796         * buffer.C (makeLaTeXFile): store this returned value in
5797         runparams.use_babel, thus passing it to the inset::latex methods.
5798
5799         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5800         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5801
5802         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5803         longer has a fragile arg, as it is stored in runparams.fragile.
5804
5805         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5806         moving_arg parameter as the data is stored in runparams.fragile.
5807
5808         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5809         a fragile parameter as the data is stored in runparams.fragile.
5810
5811 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5814
5815 2003-05-22  Angus Leeming  <leeming@lyx.org>
5816
5817         * latexrunparams.h: add a 'bool nice' which defaults to false.
5818
5819         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5820         now encapsulated within runparams.
5821
5822         * bufferlist.C (updateIncludedTeXfiles):
5823         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5824
5825 2003-05-22  Angus Leeming  <leeming@lyx.org>
5826
5827         * latexrunparams.h: new file containing struct LatexRunParams.
5828         * Makefile.am: add new file.
5829
5830         * LaTeX.[Ch] (c-tor, run):
5831         * buffer.[Ch] (makeLaTeXFile):
5832         * bufferlist.[Ch] (updateIncludedTeXfiles):
5833         * converter.C (convert, scanLog):
5834         * converter.[Ch] (runLaTeX):
5835         * exporter.C (Export):
5836         * paragraph.[Ch] (simpleTeXOnePar):
5837         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5838         * paragraph_funcs.[Ch] (latexParagraphs):
5839         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5840         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5841         pass around a LatexRunParams parameter.
5842
5843 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5844
5845         * paragraph.[Ch]: remove unused constructor
5846
5847         * ParagraphList.C (erase): new function, taking two iterators
5848
5849 2003-05-22  André Pönitz  <poenitz@gmx.net>
5850
5851         * undo_funcs.C: remove duplicated code
5852
5853         * iterator.[Ch]: operator=
5854
5855 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5856
5857         * tabular.C (SetMultiColumn): ws changes
5858
5859         * rowpainter.C (paintFirst): get rid of a ->previous
5860
5861         * lyx_cb.C (getPossibleLabel): parlist simplification
5862
5863         * BufferView.C (ChangeInsets): simplify slightly.
5864
5865 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5866
5867         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5868         * lfuns.h: new LFUN_SPACE
5869         * lyxfunc.C: protected space has a new lfun
5870         * paragraph_funcs.C: read new space insets
5871         * text3.C:
5872         * factory.C: handle new space insets
5873
5874 2003-05-22  André Pönitz  <poenitz@gmx.net>
5875
5876         * BufferView.C:
5877         * BufferView_pimpl.C:
5878         * buffer.[Ch]:
5879         * lyxfunc.C:
5880         * undo_funcs.C: return a ParIterator from getParFromID.
5881
5882         * iterators.[Ch]: add two const's
5883
5884 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5885
5886         * toc.C (getTocList): adjust
5887
5888         * iterators.[Ch]: rework for parlist
5889
5890         * buffer.C (par_iterator_begin): adjust
5891         (par_iterator_end): adjust
5892
5893         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5894
5895         * BufferView.C (removeAutoInsets): adjust
5896         (ChangeInsets): adjust
5897
5898 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5899
5900         * text.C (top_y): fix bug 1110
5901
5902 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5903
5904         * errorlist.[Ch]: added
5905         * buffer.C:
5906         * BufferView.[Ch]:
5907         * BufferView_pimpl.C:
5908         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5909         instead
5910
5911 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5912
5913         * Makefile.am: ensure that lyx is relinked upon changes to the
5914         various "convenience" libs.
5915
5916 2003-05-20  Angus Leeming  <leeming@lyx.org>
5917
5918         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5919         files are compiled in alphabetical order again.
5920
5921         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5922
5923 2003-05-19  Angus Leeming  <leeming@lyx.org>
5924
5925         * gettext.[Ch]: remove "char const * _(char const *)".
5926
5927 2003-05-19  André Pönitz  <poenitz@gmx.net>
5928
5929         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5930
5931         * Makefile.am:
5932         * BufferView.C:
5933         * DepTable.h:
5934         * LaTeXFeatures.C:
5935         * buffer.C:
5936         * lyxfont.C:
5937         * lyxlex.h:
5938         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5939
5940 2003-05-19  André Pönitz  <poenitz@gmx.net>
5941
5942         * buffer.C:
5943         * lyxlayout.[Ch]:
5944         * lyxtextclass.[Ch]:
5945         * paragraph.C:
5946         * paragraph_funcs.[Ch]:
5947         * text2.C:
5948         * text3.C: more insetenv work
5949
5950 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5951
5952         * ParagraphParameters.C (params2string): small bug fixed
5953
5954 2003-05-16  André Pönitz  <poenitz@gmx.net>
5955
5956         * debug.C:
5957         * bufferview_funcs.C: patch from Kornel Benko to prevent
5958           crash when _(...) is called twice in a statement
5959
5960 2003-05-16  André Pönitz  <poenitz@gmx.net>
5961
5962         * BufferView.C:
5963         * lyxfunc.C:
5964         * text.C:
5965         * text2.C:
5966         * text3.C:
5967         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5968
5969 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5970
5971         * lyx_main.C (init): remove spurious static_cast
5972
5973 2003-05-14  André Pönitz  <poenitz@gmx.net>
5974
5975         * BufferView.C: fix format string
5976
5977 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5978
5979         * BufferView.[Ch] (insertErrors): removed
5980         * BufferView.[Ch] (showErrorList): added
5981         * buffer.C (runChkTeX):
5982         * converter.C (scanLog): call showErrorList instead of inserterrors
5983
5984 2003-05-13  André Pönitz  <poenitz@gmx.net>
5985
5986         * BufferView_pimpl.C:
5987         * buffer.C:
5988         * bufferview_func.C:
5989         * MenuBackend.C:
5990         * lyxfunc.C:
5991         * lyxrc.C:
5992         * tex-accent.C:
5993         * text3.C:
5994         * toc.C:
5995         * tabular_funcs.h: tostr() from its own header
5996
5997         * ParagraphParameters.C:
5998         * ToolbarBackend.C:
5999         * bufferparams.C:
6000         * format.C:
6001         * lyxlex_pimpl.C:
6002         * text3.C: STRCONV()
6003
6004 2003-05-12  André Pönitz  <poenitz@gmx.net>
6005
6006         * BufferView.C:
6007         * BufferView_pimpl.C:
6008         * CutAndPaste.C:
6009         * LaTeX.C:
6010         * LaTeXFeatures.C:
6011         * ParagraphParameters.C:
6012         * buffer.C:
6013         * bufferlist.C:
6014         * bufferparams.C:
6015         * bufferview_funcs.C:
6016         * converter.C:
6017         * counters.C:
6018         * debug.C:
6019         * exporter.C:
6020         * format.C:
6021         * importer.C:
6022         * lyx_cb.C:
6023         * lyx_main.C:
6024         * lyxfont.C:
6025         * lyxfunc.C:
6026         * lyxvc.C:
6027         * paragraph.C:
6028         * paragraph_funcs.C:
6029         * tabular.C:
6030         * tabular_funcs.C:
6031         * text2.C:
6032         * text3.C:  boost::format -> bformat  all over the place
6033
6034
6035 2003-05-09  André Pönitz  <poenitz@gmx.net>
6036
6037         * LColor.[Ch]: Pimpl the #include <map> away
6038
6039 2003-05-09  John Levon  <levon@movementarian.org>
6040
6041         * bufferlist.C: never remove emergency saves
6042
6043 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6044
6045         * Makefile.am: better lib building
6046
6047 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6050         instead.
6051         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6052         (simpleTeXSpecialChars): adjust
6053         (simpleTeXSpecialChars): adjust
6054         * paragraph.C (simpleTeXOnePar): adjust
6055         * buffer.C (makeLaTeXFile): adjust
6056
6057         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6058
6059         * text2.C (changeDepth): parlist cleanup
6060         (getColumnNearX): ditto
6061
6062         * rowpainter.C (getLabelFont): parlist cleanup
6063
6064         * bufferlist.C (newFile): parlist cleanup
6065
6066         * CutAndPaste.C (eraseSelection): parlist cleanup
6067
6068         * BufferView_pimpl.C (trackChanges): parlist cleanup
6069         (dispatch): ditto
6070
6071         * BufferView.C (lockInset): parlist cleanup.
6072         (ChangeInsets): ditto
6073
6074 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6075
6076         * CutAndPaste.h: Update file header.
6077
6078         * CutAndPaste.C: Update file header.
6079         Store the parts cut out of the Document in a limited_stack.
6080         (copySelection): adjust
6081         (pasteSelection): new function, takes the index in the limited stack.
6082         (nrOfParagraphs): adjust
6083         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6084         simplify error inset insertion.
6085         (checkPastePossible): adjust
6086
6087 2003-05-06  John Levon  <levon@movementarian.org>
6088
6089         * text2.C: don't cast wrap inset to float
6090
6091 2003-05-05  André Pönitz  <poenitz@gmx.net>
6092
6093         * iterator.C:
6094         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6095
6096         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6097           few naked Paragraph *.
6098
6099 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6100
6101         * bufferparams.C: Output warning if a document with missing
6102         TeX document class is loaded
6103         * exporter.C: Disable TeX exports if the document class is missing
6104         * lyxtextclass.C:
6105         * lyxtextclass.h:
6106         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6107         isTeXClassAvailable()
6108
6109 2003-05-03  John Levon  <levon@movementarian.org>
6110
6111         * BufferView.h:
6112         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6113         explicit cursor show/hide
6114
6115         * BufferView_pimpl.h:
6116         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6117         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6118
6119         * lyxfunc.C: hide cursor before dispatching.
6120
6121         * lyx_cb.C:
6122         * lyxfind.C:
6123         * text.C:
6124         * text3.C: remove explicit cursor hides
6125
6126 2003-05-02  André Pönitz  <poenitz@gmx.net>
6127
6128         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6129
6130         * undo_funcs.C:
6131         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6132           linked lists
6133
6134         * text2.C: tiny whitespace
6135
6136 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * undo_funcs.C: almost only ws changes.
6139
6140         * ParagraphList.C (splice): just return if pl is empty.
6141
6142 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6143
6144         * ParagraphList.C (splice): new function.
6145
6146         * CutAndPaste.C (pasteSelection): use it
6147
6148 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * CutAndPaste.C (pasteSelection): remove the last next and
6151         previous from this file.
6152
6153 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * CutAndPaste.C (pasteSelection): more clean up, user proper
6156         ParagraphList functions for pasteing.
6157
6158         * ParagraphList.C (insert): new function, three arg insert
6159
6160 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * ParagraphList.C (insert): new function, three arg insert
6163
6164         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6165         not on paragraphs.
6166
6167 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6168
6169         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6170
6171 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6174
6175 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6178         (copySelection): clean up a bit.
6179         (pasteSelection): use make_pair
6180
6181         * ParagraphList.C (ParagraphList): implement copy constructor
6182         (operator=): implement, base on copy constructor.
6183         (assign): new func
6184
6185         * paragraph.C (erase): return a bool
6186
6187         * paragraph_pimpl.C (erasePos): remove function, move contents...
6188         (erase): ... here. Return a bool.
6189         (erase): call erase instead of erasePos.
6190
6191 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6192
6193         * ParagraphList.h: define PitPosPair
6194         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6195         ParagraphList, fix a bug on pasting multiple pars
6196         * text2.C: change interface to C&P
6197
6198 2003-04-30  André Pönitz  <poenitz@gmx.net>
6199
6200         * undo_func.C: revert part of yesterday's patch 2
6201
6202 2003-04-30  John Levon  <levon@movementarian.org>
6203
6204         * LColor.C: s/tabular/table/
6205
6206 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6207
6208         * text3.C (dispatch): do not convert iterator -> pointer
6209         * undo_funcs.C (setCursorParUndo): ditto
6210         * text_funcs.C (transposeChars): ditto
6211
6212         * text2.C (setLayout): ws changes only
6213
6214         * text.C (breakParagraph): do not convert iterator -> pointer
6215         (insertChar): ditto
6216         (acceptChange): ditto
6217         (rejectChange): ditto
6218         (changeCase): ditto
6219         (Delete): ditto
6220         (backspace): ditto
6221
6222         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6223         pointer
6224
6225 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6226
6227         * text3.C (gotoInset): YABG (yet another bad getChar)
6228
6229 2003-04-29  André Pönitz  <poenitz@gmx.net>
6230
6231         * paragraph.h: make operator= private unimplemented as long as
6232           it is unusable
6233
6234         * ParagraphList.C: whitespace
6235
6236         * paragraph.[Ch]:
6237         * paragraph_pimpl.[Ch]:
6238         * paragraph_funcs.C:
6239         * CutAndPaste.C:
6240         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6241
6242         * text2.C:
6243           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6244
6245 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6246
6247         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6248         * paragraph.[Ch] (erase):
6249         * paragraph_pimpl.[Ch] (erase): change return type and value
6250         * text2.C (cutSelection): some rework
6251
6252 2003-04-28  John Levon  <levon@movementarian.org>
6253
6254         * bufferlist.C: changes for unsaved changes dialog
6255
6256 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * bufferlist.C (newFile): set language (messages_) for new
6259         documents also.
6260
6261         * buffer.C (readFile): ws changes only.
6262
6263 2003-04-28  André Pönitz  <poenitz@gmx.net>
6264
6265         * undo_funcs.C:
6266         * lyxfunc.C:
6267         * buffer.[Ch]:
6268         * BufferView_pimpl.C:
6269         * BufferView.C: getParFromID related ParagraphList::iterator changes
6270
6271 2003-04-28  André Pönitz  <poenitz@gmx.net>
6272
6273         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6274           Changes
6275
6276 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6277
6278         * messages.C: remove one more localedir class variable.
6279
6280 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * messages.C (getLocaleDir): singleton generation function
6283         (Pimpl): use it.
6284         (Messages): add a default constructor.
6285
6286         * main.C (main): do not setup localedir here, do not call
6287         gettext_init.
6288
6289         * gettext.C (_): use it.
6290         (gettext_init): delete funciton
6291
6292 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * gettext.C (getLyXMessages): new singleton generating function.
6295
6296         * buffer.C (updateDocLang): adjust
6297
6298         * Makefile.am (messages.o): add target
6299         (main.o): remove target
6300
6301 2003-04-27  John Levon  <levon@movementarian.org>
6302
6303         * bufferlist.C:
6304         * lyx_cb.C:
6305         * lyxfunc.C:
6306         * lyxvc.C: specify cancel button in Alert::prompt
6307
6308 2003-04-26  John Levon  <levon@movementarian.org>
6309
6310         * text3.C:
6311         * lyxfunc.C:
6312         * lfuns.h:
6313         * LyXAction.C: add LFUN_INSET_SETTINGS
6314
6315         * lyxfunc.C: don't enable tabular-feature when there's
6316         just any locking inset
6317
6318 2003-04-26  John Levon  <levon@movementarian.org>
6319
6320         * bufferlist.C: re-add Cancel to buffer close question
6321
6322         * lyxfunc.C: fix import UI a bit
6323
6324 2003-04-25  John Levon  <levon@movementarian.org>
6325
6326         * gettext.C: remove the broken asserts for now
6327
6328 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * messages.C: make case where setlocale cannot comply work better.
6331
6332         * buffer.C (updateDocLang): new function
6333         (changeLanguage): use it
6334         (readFile): use it
6335
6336         * text2.C (setCounter): use B_ a bit.
6337
6338         * lyxlayout.C (Read): be sure to trim the label strings.
6339
6340         * messages.C (Messages): fix typo in comment
6341
6342         * buffer.C (readFile): set message_ after file is loaded.
6343         (makeDocBookFile): remove double return
6344         (changeLanguage): reset message_ upon language change.
6345         (B_): new func, use this to get translated buffer strings.
6346
6347         * main.C: add myself and Jean Marc as authors.
6348
6349 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6350
6351         * messages.[hC]: pimplify Messages, and three different pimpls to be
6352         used in different circumstances.
6353
6354         * gettext.[Ch]: change for use with new message code.
6355
6356 2003-04-24 André Pönitz <poenitz@gmx.net>
6357
6358         * factory.C: support for eqref
6359
6360 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * messages.[Ch]: add missing char
6363
6364         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6365
6366         * messages.[Ch]: New files
6367
6368 2003-04-18  John Levon  <levon@movementarian.org>
6369
6370         * BufferView.h:
6371         * BufferView.C:
6372         * BufferView_pimpl.C:
6373         * lfuns.h:
6374         * LyXAction.C:
6375         * lyxtext.h:
6376         * text2.C: remove layout-copy/paste (bug 778)
6377
6378 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6379
6380         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6381
6382 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6383
6384         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6385         if they succeed. Act accordingly.
6386
6387 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * text2.C (setCharFont): adjust
6390         (setCounter): adjust
6391         (insertStringAsLines): adjust
6392
6393         * text.C (leftMargin): adjust
6394         (setHeightOfRow): adjust
6395
6396         * rowpainter.C (paintFirst): adjust
6397         (paintLast): adjust
6398
6399         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6400         (outerHook): ditto
6401         (isFirstInSequence): ditto
6402         (getEndLabel): ditto
6403         (outerFont): adjust
6404
6405         * paragraph.C (getParLanguage): comment out some hard stuff.
6406
6407         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6408         (sgmlError): ditto
6409         (simpleDocBookOnePar): ditto
6410         (makeDocBookFile): use ParagraphList::iterator
6411
6412         * CutAndPaste.C (pasteSelection): adjust
6413
6414 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6415
6416         * text2.C (getFont): adjust
6417         (getLayoutFont): adjust
6418         (getLabelFont): adjust
6419
6420         * paragraph_funcs.C (TeXOnePar): adjust
6421
6422         * buffer.C (simpleLinuxDocOnePar): adjust
6423         (simpleDocBookOnePar): adjust
6424
6425         * CutAndPaste.C (pasteSelection): adjust
6426
6427         * BufferView.C (getEncoding): adjust
6428
6429         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6430
6431 2003-04-16  John Levon  <levon@movementarian.org>
6432
6433         * lyxfind.C: use parlist stuff for search/changes
6434
6435 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6436
6437         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6438
6439         * text2.C (deleteEmptyParagraphMechanism): adjust
6440
6441         * text2.[Ch] (ownerParagraph): delete func (both of them
6442
6443 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6446
6447 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6448
6449         * ParagraphList.C: prepare for NO_NEXT
6450
6451 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6452
6453         * text2.C (getFont): adjust
6454         (getLayoutFont): adjust
6455         (getLabelFont): adjust
6456
6457         * paragraph.C (getFont): adjust
6458         (getLabelFont): adjust
6459         (getLayoutFont): adjust
6460
6461         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6462
6463 2003-04-15  John Levon  <levon@movementarian.org>
6464
6465         From Angus Leeming
6466
6467         * lyx_main.C: handle Include in .ui files
6468
6469 2003-04-15  John Levon  <levon@movementarian.org>
6470
6471         * MenuBackend.C: make the doc files length shorter
6472
6473         * ToolbarBackend.h:
6474         * ToolbarBackend.C: handle toolbar placement flags,
6475         Minibuffer
6476
6477 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6478
6479         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6480         adjust
6481
6482         * paragraph_funcs.C (TeXOnePar): adjust
6483
6484         * paragraph.C (getLabelFont): add outerfont arg, adjust
6485         (getLayoutFont): ditto
6486         (simpleTeXOnePar): adjust
6487
6488         * paragraph_pimpl.C (realizeFont): delete func
6489
6490 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6491
6492         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6493         row argument, constify cur argument.
6494
6495 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6496
6497         * text2.C (getFont): adjust
6498         (getLayoutFont): adjust
6499         (getLabelFont): adjust
6500
6501         * paragraph_funcs.C (TeXOnePar): adjust
6502         (outerFont): new func...
6503         (realizeFont): ...moved out from here, changed this to facilitate
6504         transition
6505
6506         * paragraph.C (getFont): take outerfont as arg, adjust
6507         (simpleTeXOnePar): add outerfont arg, adjust
6508
6509         * buffer.C (simpleLinuxDocOnePar): adjust
6510         (simpleDocBookOnePar): adjust
6511
6512         * CutAndPaste.C (pasteSelection): adjust
6513
6514         * BufferView.C (getEncoding): adjust
6515
6516 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6517
6518         * text2.C (setCharFont): adjust
6519         (setCounter): adjust
6520
6521         * text.C (leftMargin): adjust
6522         (setHeightOfRow): adjust
6523
6524         * rowpainter.C (paintFirst): adjust
6525         (paintLast): adjust
6526
6527         * paragraph_pimpl.C (realizeFont): adjust
6528
6529         * paragraph.C (isFirstInSequence): move from here...
6530         * paragraph_funcs.C (isFirstInSequence): ...to here
6531
6532         * paragraph.C (outerHook): move from here...
6533         * paragraph_funcs.C (outerHook): ...to here
6534
6535         * paragraph.C (depthHook): move from here...
6536         * paragraph_funcs.C (depthHook): ...to here
6537
6538         * paragraph.C (getEndLabel): move from here...
6539         * paragraph_funcs.C (getEndLabel): ...to here
6540
6541         * text2.C (realizeFont): move from here...
6542         * paragraph_funcs.C (realizeFont): ...to here
6543
6544 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6545
6546         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6547
6548 2003-04-14  Angus Leeming  <leeming@lyx.org>
6549
6550         * LColor.[Ch]: scrap LColor mathcursor.
6551
6552 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * lyxlex.[Ch] (text): delete function
6555         * trans.C (Load): adjust
6556         * paragraph_funcs.C (readParToken): adjust
6557
6558 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6559
6560         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6561         vector<char> instead of a char[].
6562
6563         * lyxlex_pimpl.C (getString): adjust
6564         (next): adjust
6565         (lex): use getString
6566         (eatLine): adjust
6567         (nextToken): adjust
6568
6569         * lyxlex.C (text): use pimpl_->getString()
6570         (getBool): ditto
6571         (findToken): ditto
6572
6573 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6574
6575         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6576         (makeFontEntriesLayoutSpecific): temp var for par.size()
6577         (setLayout): temp var for ownerParagraphs().end()
6578         (fullRebreak): temp var for rows().end()
6579         (selectionAsString): temp var for boost::next(startpit), realize
6580         that the while really is a regular for loop.
6581         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6582         setCursor in one place.
6583         (setParagraph): temp vr for ownerParagraphs().end()
6584         (updateCounters): make the while loop a for loop
6585         (cutSelection): temp var for ownerParagraphs().end()
6586         (updateInset): make the do {} while() a regular for loop
6587         (getCursorX): use temp vars
6588         (setCurrentFont): use temp vars
6589         (getColumnNearX): use temp vars
6590
6591 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * text.C (transformChar): use temp var for getChar
6594         (computeBidiTables): use temp var for row->par()
6595         (fill): move temp vars for row->par() and pit->layout() earlier in
6596         the function.
6597         (labelFill): use temp var for row->par()
6598         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6599         asc and desc, realize that pit never changes and that firstpit is
6600         just a duplicate and not needed. Exchange rit->par() with pit in a
6601         lot of places.
6602         (breakAgain): use a temp var for boost::next(rit)
6603         (breakAgainOneRow): ditto
6604         (breakParagraph): use a temp var for rows().begin()
6605         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6606         (cursorRightOneWord): use temp var for cursor.par() and
6607         cursor.pos(), remove usage of tmpcursor.
6608         (cursorLeftOneWord): use temp var for cursor.par() and
6609         cursor.pos() only set cur at end of function.
6610
6611 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6612
6613         * text.C, text2.C: exchange all usage of Paragraph::next with
6614         boost::next(ParagraphList::iterator)
6615
6616         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6617
6618         * text2.C (cursorTop): simplify implementation
6619         (cursorBottom): ditto
6620         (setParagraph): use ParagraphList::iterator
6621         (setCurrentFont): adjust
6622         (getColumnNearX): adjust
6623         (cursorRight): adjust
6624         (cursorLeft): remove usage of Paragraph::previous
6625         (cursorUpParagraph): ditto
6626         (deleteEmptyParagraphMechanism): slight cleanup
6627
6628         * text.C (isBoundary): take a Paragraph const & instead of a
6629         pointer as arg.
6630         (addressBreakPoint): ditto
6631         (leftMargin): remove usage of Paragraph::previous.
6632         (setHeightOfRow): ditto
6633         (cursorLeftOneWord): ditto
6634         (selectNextWordToSpellcheck): ditto
6635         (Delete): ditto
6636         (backspace): ditto
6637         (breakParagraph): remove one usage of Paragraph::next
6638         (redoParagraph): ditto
6639         (acceptChange): ditto
6640         (insertChar): adjust
6641         (rowBreakPoint): adjust
6642
6643         * bufferview_funcs.C (toggleAndShow): adjust
6644
6645 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6646
6647         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6648         methods to access it.
6649         * lyxtext.h:
6650         * text.C: Added updateRowPositions to compute all row positions.
6651         Make top_y and getRowNearY() to use the cached y position
6652
6653 2003-04-11  John Levon  <levon@movementarian.org>
6654
6655         * text.C (rowBreakPoint): reintroduce the labelEnd
6656         checks, code copied from the row fill stuff. Deep voodoo.
6657
6658         * text.C (fill): add a comment and debugging for the
6659         next poor soul.
6660
6661 2003-04-11  John Levon  <levon@movementarian.org>
6662
6663         * text.C: make sure fullrow insets get wrapped to the next line,
6664         even when they're in a manual label
6665
6666 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6667
6668         * text2.C (insertParagraph): make it take ParagraphList::iterator
6669         as arg.
6670         (setLayout): make it return ParagraphList::iterator
6671         (redoParagraphs): ditto
6672         (setCounter): ditto
6673         (checkParagraph): ditto
6674
6675         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6676
6677         * text2.C: adjust several funcs.
6678         (realizeFont): take a ParagraphList::iterator as arg.
6679         (getLayoutFont): ditto
6680         (getLabelFont): ditto
6681         (setCharFont): ditto
6682
6683         * text.C: adjust several funcs.
6684
6685 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6686
6687         * text.C (selectNextWordToSpellcheck): don't accidentally
6688         skip insets
6689
6690 2003-04-10  John Levon  <levon@movementarian.org>
6691
6692         * ToolbarBackend.C (getIcon): special handling for
6693         LFUN_MATH_DELIM
6694
6695 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6696
6697         * text2.C (cursorRight): a getChar assert fixed
6698
6699 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6700
6701         * text2.C (getFont): change to take a ParagraphList::iterator
6702         instead of Paragraph*
6703         Adjust several functions.
6704
6705         * text.C (transformChar): change to take a ParagraphList::iterator
6706         instead of Paragraph*
6707         (singleWidth): ditto
6708         Adjust several functions.
6709
6710         * rowpainter.C: adjust several functions
6711         * rowpainter.h:store a ParagraphList::iterator and not a
6712         Paragraph&.
6713
6714
6715 2003-04-09  John Levon  <levon@movementarian.org>
6716
6717         * lyxfunc.C:
6718         * lfuns.h:
6719         * LyXAction.h:
6720         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6721         and the "help" bits as well
6722
6723 2003-04-09  John Levon  <levon@movementarian.org>
6724
6725         * ToolbarBackend.h:
6726         * ToolbarBackend.C: allow multiple toolbars
6727
6728 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6729
6730         * undo_funcs.C (setCursorParUndo): adjust
6731
6732         * text_funcs.C (transposeChars): adjust
6733
6734         * text3.C (gotoNextInset): adjust
6735         (dispatch): adjust
6736
6737         * text2.C (setLayout): adjust
6738         (changeDepth): adjust
6739         (setFont): adjust
6740         (redoParagraphs): adjust
6741         (selectionAsString): adjust
6742         (setParagraph): adjust
6743         (insertInset): adjust
6744         (cutSelection): adjust
6745         (copySelection): adjust
6746         (pasteSelection): adjust
6747         (insertStringAsLines): adjust
6748         (updateInset): adjust
6749         (setCursor): change to take a ParagraphList::iterator parameter
6750         (setCursorIntern): change to take a ParagraphList::iterator parameter
6751         (setCurrentFont): adjust
6752         (cursorLeft): adjust
6753         (cursorRight): adjust
6754         (deleteEmptyParagraphMechanism): adjust
6755
6756         * text.C (breakParagraph): adjust
6757         (insertChar): adjust
6758         (acceptChange): adjust
6759         (rejectChange): adjust
6760         (selectNextWordToSpellcheck): adjust
6761         (changeCase): adjust
6762         (Delete): adjust
6763         (backspace): adjust
6764
6765         * lyxfind.C (SearchForward): adjust
6766         (SearchBackward): adjust
6767         (nextChange): adjust
6768
6769         * lyxcursor.C (par): adjust
6770
6771         * lyxcursor.h: store a ParagraphList::iterator instead of a
6772         Paragraph*
6773
6774         * lyx_cb.C (getPossibleLabel): adjust
6775
6776         * bufferview_funcs.C (toggleAndShow): adjust
6777
6778         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6779         (dispatch): adjust
6780
6781         * BufferView.C (removeAutoInsets): adjust
6782         (lockedInsetStoreUndo): adjust
6783
6784 2003-04-09  John Levon  <levon@movementarian.org>
6785
6786         * ToolbarBackend.C: try icon without argument
6787         if with argument fails
6788
6789 2003-04-08  John Levon  <levon@movementarian.org>
6790
6791         * ToolbarBackend.h:
6792         * ToolbarBackend.C: add getIcon(), handle tooltip,
6793         and change from "Icon" to "Item".
6794
6795 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6796
6797         * BufferView.C (lockInset): another bad getchar crunched
6798
6799 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6800
6801         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6802         again)
6803
6804 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6805
6806         * lyxfind.C (searchForward, searchBackwards): bug 782
6807
6808 2003-04-07  John Levon  <levon@movementarian.org>
6809
6810         * paragraph.C: remove dead comment
6811
6812         * text.C: remove troublesome depth-fiddling code
6813         in leftMargin() and rightMargin() (bug 1017)
6814
6815         * text.C: fix breaking of rows in nested lists
6816         (bug 1004)
6817
6818         * text2.C (updateCounters): fix up depth values
6819         (bug 1013)
6820
6821 2003-04-07  John Levon  <levon@movementarian.org>
6822
6823         * BufferView_pimpl.C: clear message when doc finishes resizing,
6824         and after a mouse event
6825
6826         * lyxfunc.C: clear message after exiting inset
6827
6828 2003-04-07  John Levon  <levon@movementarian.org>
6829
6830         * bufferview_funcs.C: show math status not outside
6831         status in the statusbar
6832
6833 2003-04-07  John Levon  <levon@movementarian.org>
6834
6835         * lyxfunc.C: note status changed after a depth change
6836
6837 2003-04-04  Angus Leeming  <leeming@lyx.org>
6838
6839         * LaTeX.h: move AuxInfo operator==, != out of line.
6840         Remove LaTeX virtual destructor; nothing derives from it.
6841         Move operator()() out of public area and rename it startscript().
6842         Change protected for private.
6843
6844 2003-04-04  Angus Leeming  <leeming@lyx.org>
6845
6846         * lyxfunc.C:
6847         * text2.C: remove unneeded #includes.
6848
6849 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6850
6851         * text2.C (dEPM): fix the heigth of the next row
6852
6853 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6854
6855         * text.C: squashed an invalid getChar requester + some ws changes
6856
6857 2003-04-03  John Levon  <levon@movementarian.org>
6858
6859         * bufferview_funcs.h:
6860         * bufferview_funcs.C:
6861         * lyxfunc.C:
6862         * lyxtext.h:
6863         * text2.C: make getStatus work for the env depth lfuns
6864
6865 2003-04-03  John Levon  <levon@movementarian.org>
6866
6867         * bufferview_funcs.h:
6868         * bufferview_funcs.C:
6869         * lyxfunc.C:
6870         * lyxtext.h:
6871         * text2.C: parlistize decDepth(), by merging it with incDepth()
6872
6873 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * lyxrow.h: store a ParagraphList::iterator instead of a
6876         Paragraph* and adjust other class functions to suit.
6877
6878         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6879         above.
6880
6881 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6882
6883         * text2.C (setCursor): do not anchor to cursor row for the time being
6884
6885 2003-04-02  John Levon  <levon@movementarian.org>
6886
6887         * LyXAction.C:
6888         * lfuns.h:
6889         * lyx_main.C:
6890         * lyxtext.h:
6891         * text.C:
6892         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6893
6894 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6895
6896         * paragraph.h: make ParagraphList and ParagraphList::iterator
6897         friends of Paragraph.
6898
6899         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6900
6901         * ParagraphList.C: Use the private next_ and previous_ from
6902         Paragraph.
6903
6904 2003-04-01  John Levon  <levon@movementarian.org>
6905
6906         * ToolbarBackend.h:
6907         * ToolbarBackend.C:
6908         * Makefile.am: rename, remove defaults gunk
6909
6910         * MenuBackend.h:
6911         * MenuBackend.C: remove defaults gunk
6912
6913         * Languages.h:
6914         * Languages.C: remove defaults gunk
6915
6916         * lyx_main.h:
6917         * lyx_main.C: error out if files couldn't be found.
6918
6919 2003-04-02  John Levon  <levon@movementarian.org>
6920
6921         * text2.C: make incDepth() use parlist
6922
6923 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * undo_funcs.C (firstUndoParagraph): adjust
6926
6927         * text3.C (gotoInset): adjust
6928         (dispatch): adjust, and rewrite loop.
6929
6930         * text2.C (init): adjust, and rewrite loop.
6931         (redoParagraphs): adjust
6932         (updateInset): adjust, and rewrite loop.
6933         (deleteEmptyParagraphMechanism): adjust
6934
6935         * tabular.C (LyXTabular): adjust
6936         (SetMultiColumn): adjust
6937         (TeXRow): adjust
6938
6939         * lyxtext.[Ch] (ownerParagraph): delete function
6940         (ownerParagraphs): new function returns a ParagraphList.
6941
6942         * BufferView.C (removeAutoInsets): adjust
6943         (insertErrors): adjust
6944         (setCursorFromRow): adjust
6945
6946 2003-04-01  Angus Leeming  <leeming@lyx.org>
6947
6948         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6949         in the frontends.
6950
6951 2003-04-02  John Levon  <levon@movementarian.org>
6952
6953         * lyxtext.h:
6954         * text.C:
6955         * Makefile.am:
6956         * text_funcs.h:
6957         * text_funcs.C: make transposeChars a free function
6958
6959         * lyxrow_funcs.C: remove wrong comment
6960
6961 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6962
6963         * lyxtext.h: adjust
6964         * rowpainter.C: adjust
6965         * text.C: adjust
6966         * text2.C: adjust
6967         * text3.C: adjust
6968
6969         * lyxrow_funcs. [Ch]: new files
6970
6971         * lyxrow.[Ch]: remove next and previous pointers
6972         (next,previous): remove accessor functions
6973         (isParEnd): move to lyxrow_funcs
6974         (lastPos): move to lyxrow_funcs
6975         (nextRowIsAllInset): move to lyxrow_funcs
6976         (lastPrintablePos): move to lyxrow_funcs
6977         (numberOfSeparators): move to lyxrow_funcs
6978         (numberOfHfills): move to lyxrow_funcs
6979         (numberOfLabelHfills): move to lyxrow_funcs
6980         (hfillExpansion): move to lyxrow_funcs
6981
6982         * lyxfunc.C: adjust
6983
6984         * bufferview_funcs.C (toggleAndShow): adjust
6985
6986         * RowList.h: Remove class RowList from file leave just a
6987         std::list<Row>.
6988
6989         * RowList.C: delete file
6990
6991         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6992         and lyxrow_funcs.h
6993
6994 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * text3.C (cursorPrevious): adjust
6997         (cursorNext): adjust
6998         (dispatch): adjust
6999
7000         * text2.C (redoHeightOfParagraph): adjust
7001         (redoDrawingOfParagraph): adjust
7002         (setCursor): adjust
7003
7004         * text.C (breakParagraph): adjust
7005         (insertChar): adjust
7006         (backspace): adjust
7007
7008         * rowpainter.C (RowPainter): adjust
7009         (leftMargin): simplify and adjust
7010         (most rowpainter functions): adjust.
7011
7012         * rowpainter.h: store the row as RowList::iterator not as Row*
7013
7014         * lyxcursor.C (row): taka RowList::iterator as arg
7015         (irow): ditto
7016
7017         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7018         of Row*.
7019
7020 2003-04-01  Angus Leeming  <leeming@lyx.org>
7021
7022         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7023         stuff like bool Bool.
7024
7025 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7026
7027         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7028         rewrite a loop
7029
7030 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7031
7032         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7033         RowList::iterator.
7034
7035         * lyxtext.h (rows): drop one version and leve a const variant that
7036         returns a RowList::iterator.
7037
7038 2003-03-31  Angus Leeming  <leeming@lyx.org>
7039
7040         * text.C (fill): ensure that the signature is the same as that in the
7041         header file.
7042
7043 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * text2.C (redoParagraphs): adjust
7046         (updateCounters): adjust
7047         (checkParagraph): adjust
7048         (getColumnNearX): adjust and reformat a bit.
7049
7050         * text.C (top_y): adjust
7051         (workWidth): adjust
7052         (leftMargin): adjust
7053         (prepareToPrint): adjust
7054         (getRow): adjust
7055         (getRowNearY): adjust
7056
7057         * lyxtext.h: make rowlist_ mutable.
7058
7059         * RowList.h: add const_iterator
7060         * RowList.C: adjust for RowList::const_iterator.
7061
7062         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7063         adjust.
7064
7065 2003-03-31  John Levon  <levon@movementarian.org>
7066
7067         * lyxrc.h:
7068         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7069
7070         * lyx_main.C: set default fonts from using lyx_gui funcs
7071
7072         * exporter.C: pdf_mode moved from lyxrc
7073
7074         * lyx_cb.C:
7075         * lyxfunc.C: changes from above
7076
7077 2003-03-31  John Levon  <levon@movementarian.org>
7078
7079         * lyx_main.C: fix to the last fix
7080
7081 2003-03-31  John Levon  <levon@movementarian.org>
7082
7083         * bufferlist.C: "Load original" -> "Load Original"
7084
7085         * converter.C:
7086         * exporter.C:
7087         * importer.C:
7088         * lyx_main.C:
7089         * format.C: more Alert cleanups
7090
7091 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7092
7093         * text2.C (removeParagraph): make it take a RowList::iterator as
7094         arg, adjust.
7095         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7096         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7097
7098         * text.C (anchor_row): make it take a RowList::iterator as arg,
7099         adjust.
7100         (computeBidiTables): make it take a const reference to Row instead
7101         of Row pointer, adjust.
7102         (leftMargin): make it take a RowList::iterator as arg, adjust.
7103         (rowBreakPoint): adjust
7104         (breakAgainOneRow): make it take a RowList::iterator as arg,
7105         adjust.
7106         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7107
7108         * bufferview_funcs.C (toggleAndShow): adjust
7109
7110 2003-03-30  John Levon  <levon@movementarian.org>
7111
7112         * Makefile.am:
7113         * BoostFormat.h:
7114         * boost-inst.C: moved to support
7115
7116         * several files: changes as a result
7117
7118 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7119
7120         * text2.C (LyXText): adjust.
7121         (init): adjust
7122         (removeRow): make it take a RowList::iterator as arg, adjust.
7123         (fullRebreak): adjust
7124         (deleteEmptyParagraphMechanism): adjust
7125         (clearPaint): adjust
7126         (postPaint): adjust
7127
7128         * text.C (top_y): adjust
7129         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7130         (breakAgain): make it take a RowList::iterator as arg, adjust.
7131         (breakParagraph): adjust
7132         (insertChar): adjust
7133         (backspace): adjust
7134
7135         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7136         need_break_row, and refresh_row.
7137
7138         * text3.C (dispatch): adjust
7139
7140         * text2.C (checkParagraph): adjust
7141         (setCursor): adjust
7142         (setCursorFromCoordinates): adjust
7143
7144         * text.C (top_y): adjust
7145         (workWidth): adjust
7146         (getRow): make it return a RowList::iterator, adjust
7147         (getRowNearY): make it return a RowList::iterator, adjust
7148
7149         * text2.C (init): adjust
7150         (insertRow): remove function
7151         (insertParagraph): adjust
7152         (redoParagraphs): adjust
7153         (fullRebreak): adjust
7154         (updateCounters): adjust
7155
7156         * text.C (top_y): rewrite to use RowList iterators.
7157         (top_y): adjust
7158         (setHeightOfRow): rewrite to sue RowList iterators.
7159         (appendParagraph): adjust
7160         (breakAgain): adjust
7161         (breakAgainOneRow): adjust
7162         (breakParagraph): adjust
7163         (getRow): adjust
7164         (getRowNearY): adjust, and remove commented code.
7165
7166         * lyxtext.h (firstRow): delete function
7167         (lastRow): delete function
7168         (rows): new function (const and non-const versions.)
7169         (insertRow): delete function
7170
7171         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7172
7173 2003-03-29  John Levon  <levon@movementarian.org>
7174
7175         * BufferView_pimpl.C: always update scrollbar top
7176         because pasting text when we're anchored could mean we
7177         miss an update altogether
7178
7179 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7180
7181         * text2.C (init): use rowlist_.end() and not 0.
7182         (insertRow): change to take a RowList::iterator as arg, adjust
7183         for this.
7184         (insertParagraph): change to take a RowList::iterator as arg,
7185         adjust for this.
7186         (redoParagraphs): remove some debug msgs.
7187
7188         * text.C (appendParagraph): change to take a RowList::iterator
7189         arg, adjust for this.
7190         (breakAgain): add an assert
7191         (breakAgainOneRow): ditto
7192
7193 2003-03-29  John Levon  <levon@movementarian.org>
7194
7195         * text2.C: do not clear selection after inc/decDepth
7196         (bug 550)
7197
7198 2003-03-29  John Levon  <levon@movementarian.org>
7199
7200         * BufferView.C:
7201         * buffer.C: fix broken strerrors according to Lars
7202
7203 2003-03-29  John Levon  <levon@movementarian.org>
7204
7205         * converters.C: more Alert cleanups
7206
7207 2003-03-29  John Levon  <levon@movementarian.org>
7208
7209         * bufferview_funcs.C: remove pointless Alert
7210
7211         * buffer.C: fix confusing error message when
7212         a template is chmoded 000
7213
7214 2003-03-29  John Levon  <levon@movementarian.org>
7215
7216         * BufferView.C:
7217         * BufferView.h:
7218         * BufferView_pimpl.C: Alert fixes
7219
7220         * Makefile.am:
7221         * tabular.C:
7222         * tabular-old.C: remove unused table compat reading
7223
7224 2003-03-29  John Levon  <levon@movementarian.org>
7225
7226         * BufferView.C:
7227         * buffer.C:
7228         * lyx_cb.h:
7229         * lyx_cb.C: more Alert cleanups
7230
7231         * lyxfunc.C: don't allow chktex if not latex document
7232
7233 2003-03-29  John Levon  <levon@movementarian.org>
7234
7235         * lyx_cb.C:
7236         * BufferView.C:
7237         * buffer.C: warnings pushed down from support/,
7238         kill err_alert
7239
7240 2003-03-29  John Levon  <levon@movementarian.org>
7241
7242         * lyxfunc.C: safety check for C-r (revert)
7243
7244 2003-03-29  John Levon  <levon@movementarian.org>
7245
7246         * bufferlist.h:
7247         * bufferlist.C: several UI fixes using Alert::prompt.
7248         Fix the pointless looping quit code. Fix stupid revert
7249         behaviour (bug 938)
7250
7251         * lyxvc.h:
7252         * lyxvc.C:
7253         * lyx_cb.C: use Alert::prompt
7254
7255         * lyx_main.C: remove a silly question
7256
7257         * lyxfunc.C: remove a couple of silly questions,
7258         use Alert::prompt
7259
7260 2003-03-28  John Levon  <levon@movementarian.org>
7261
7262         * text2.C: fix bug 974 (End on empty par)
7263
7264 2003-03-28  John Levon  <levon@movementarian.org>
7265
7266         * BufferView_pimpl.C:
7267         * LyXAction.C:
7268         * lfuns.h: remove do-nothing math greek lfuns
7269
7270 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7271
7272         * lyxgluelength.h (isValidGlueLength): add default arg on
7273         parameter 2. Remove default arg from friend in class.
7274
7275         * lyxlength.h (isValidLength): add default arg on parameter 2.
7276         Remove default arg from friend in class.
7277
7278         * text2.C (LyXText): adjust, initialize refresh_row.
7279         (init): adjust
7280         (removeRow): adjust
7281         (insertRow): adjust
7282         (insertParagraph): adjst
7283         (redoParagraphs): adjust
7284         (fullRebreak): adjust
7285         (updateCounters): adjust
7286         (deleteEmptyParagraphMechanism): first attempt at fixing a
7287         crashing bug.
7288
7289         * text.C (top_y): adjust
7290         (setHeightOfRow): adjust
7291         (getRow): adjust
7292         (getRowNearY): adjust
7293
7294         * lyxtext.h: include RowList.h
7295         (~LyXText): not needed anymore, deleted.
7296         (firstRow): modify for RowList
7297         (lastRow): new function
7298         Delete firstrow and lastrow class variables, add a Rowlist
7299         rowlist_ class variable.
7300
7301         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7302         paragraph is empty.
7303
7304         * RowList.C (insert): fix case where it == begin().
7305
7306 2003-03-26  Angus Leeming  <leeming@lyx.org>
7307
7308         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7309         the thesaurus dialog.
7310
7311 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7312
7313         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7314
7315         * RowList.[Ch]: new files
7316
7317         * ParagraphList.C (erase): handle the case where it == begin
7318         correctly.
7319
7320 2003-03-25  John Levon  <levon@movementarian.org>
7321
7322         * Makefile.am:
7323         * aspell_local.h:
7324         * aspell.C: add new aspell support
7325
7326         * lyxrc.h:
7327         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7328         have it accessible.
7329
7330 2003-03-25  Angus Leeming  <leeming@lyx.org>
7331
7332         * lfuns.h:
7333         * LyXAction.C (init): new LFUN_INSET_INSERT.
7334
7335         * BufferView_pimpl.C (dispatch): split out part of the
7336         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7337
7338         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7339         LFUN_INSET_APPLY.
7340
7341 2003-03-25  Angus Leeming  <leeming@lyx.org>
7342
7343         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7344
7345 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7346
7347         * text2.C:
7348         * text3.C: remove useless row->height(0)
7349
7350 2003-03-25  John Levon  <levon@movementarian.org>
7351
7352         * lyxtext.h:
7353         * text2.C:
7354         * text3.C: rename the refreshing stuff to better names
7355
7356 2003-03-24  John Levon  <levon@movementarian.org>
7357
7358         * BufferView_pimpl.h:
7359         * BufferView_pimpl.C: update layout choice on a mouse
7360         press/release
7361
7362 2003-03-23  John Levon  <levon@movementarian.org>
7363
7364         * Makefile.am: fix commandtags.h reference
7365
7366 2003-03-22  John Levon  <levon@movementarian.org>
7367
7368         * BufferView_pimpl.C:
7369         * lyxtext.h:
7370         * rowpainter.C:
7371         * rowpainter.h:
7372         * text.C:
7373         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7374
7375 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7376
7377         * lyxtext.h:
7378         * text.C: take the rtl methods out of line
7379
7380 2003-03-21 André Pönitz <poenitz@gmx.net>
7381
7382         * metricsinfo.[Ch]: new files containing structures to be passed around
7383         during the two-phase-drawing...
7384
7385 2003-03-21 André Pönitz <poenitz@gmx.net>
7386
7387         * lyxtextclass.C: read 'environment' tag.
7388
7389 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7390
7391         * text2.C (removeRow): fix bug 964
7392
7393 2003-03-20  John Levon  <levon@movementarian.org>
7394
7395         * rowpainter.C:
7396         * text.C:
7397         * text2.C: paint cleanups. Inset::update() dropped font
7398         parameter
7399
7400 2003-03-19  John Levon  <levon@movementarian.org>
7401
7402         * lyxfunc.C: only fitcursor/markDirty if available()
7403
7404 2003-03-19  John Levon  <levon@movementarian.org>
7405
7406         * commandtags.h: rename to ...
7407
7408         * lfuns.h: ... this, and renumber / cleanup
7409
7410 2003-03-19  John Levon  <levon@movementarian.org>
7411
7412         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7413         fit the cursor after an lfun
7414
7415         * BufferView.h:
7416         * BufferView.C:
7417         * BufferView_pimpl.h:
7418         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7419
7420         * LyXAction.C: layout-character should have ReadOnly
7421
7422         * ParagraphParameters.C:
7423         * buffer.C:
7424         * bufferview_funcs.C:
7425         * lyx_cb.C:
7426         * lyxfind.C:
7427         * lyxtext.h:
7428         * text.C:
7429         * text2.C:
7430         * text3.C:
7431         * undo_funcs.C: changes from above
7432
7433 2003-03-18  John Levon  <levon@movementarian.org>
7434
7435         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7436         remove it from update()
7437
7438         * lyxfunc.C: update layout choice after an lfun
7439
7440         * text3.C: remove extra updateLayoutChoice()s
7441
7442 2003-03-18  John Levon  <levon@movementarian.org>
7443
7444         * text.C: top_y change means full repaint, fix
7445         a drawing bug with cursor movement
7446
7447 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7448
7449         * lyxtext.h:
7450         * text.C:
7451         * text2.C: anchor row on setCursor
7452
7453 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7454
7455         * lyxtext.h: remove almost all mutable keywords
7456         * text.C:
7457         * text2.C:
7458         * text3.C: remove const keywords accordingly
7459
7460 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7463         anon namespace
7464         (TeXEnvironment): ditto
7465         (TeXOnePar): ditto
7466
7467 2003-03-17  John Levon  <levon@movementarian.org>
7468
7469         * text.C (rowBreakPoint): remove attempt to fix displayed
7470         math insets inside a manual label
7471
7472 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7473
7474         * lyxtext.h: remove BufferView* as first arg from almost all class
7475         functions.
7476         * other files: adjust.
7477
7478 2003-03-17  John Levon  <levon@movementarian.org>
7479
7480         * lyxtext.h:
7481         * undo_funcs.C:
7482         * text2.C: more paint cleanups
7483
7484         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7485
7486         * rowpainter.h:
7487         * rowpainter.C: remove "smart" background painting code
7488
7489 2003-03-16  John Levon  <levon@movementarian.org>
7490
7491         * lyxtext.h:
7492         * text.C:
7493         * text2.C:
7494         * text3.C: add helper functions for setting refresh_row/y
7495
7496 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7497
7498         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7499         newline inset which *can* get inserted in the pass_thru layouts.
7500         This is primarily for literate documents.
7501
7502 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7503
7504         * buffer.C: increment LYX_FORMAT to 223
7505
7506 2003-03-14 André Pönitz <poenitz@gmx.net>
7507
7508         * textclass.h: prepare for environment handling, ws changes
7509         * lyxlayout.C: read latexheader and latexfooter tags
7510
7511 2003-03-14  John Levon  <levon@movementarian.org>
7512
7513         * text2.C: rewrite ::status() a bit
7514
7515 2003-03-13  John Levon  <levon@movementarian.org>
7516
7517         * lyxtext.h: add some docs
7518
7519 2003-03-13  John Levon  <levon@movementarian.org>
7520
7521         * lyxtext.h:
7522         * text.C:
7523         * text2.C:
7524         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7525
7526 2003-03-13  John Levon  <levon@movementarian.org>
7527
7528         * text3.C: fix appendix redrawing
7529
7530 2003-03-13  John Levon  <levon@movementarian.org>
7531
7532         * text.C (setHeightOfRow):
7533         * rowpainter.h:
7534         * rowpainter.C: make appendix mark have the text
7535           "Appendix" so the user knows what it is
7536
7537         * LColor.h:
7538         * LColor.C: s/appendixline/appendix/ from above
7539
7540 2003-03-13  John Levon  <levon@movementarian.org>
7541
7542         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7543
7544         * text.C: fix a getChar(pos) bug properly
7545
7546 2003-03-13  Angus Leeming  <leeming@lyx.org>
7547
7548         * commandtags.h:
7549         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7550         Probably only temporary. Let's see how things pan out.
7551
7552         * BufferView.C (unlockInset):
7553         * BufferView_pimpl.C (fitCursor):
7554         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7555
7556         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7557         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7558
7559         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7560         new functions that convert ParagraphParameters to and from a string.
7561
7562         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7563         BufferView::Pimpl's dispatch.
7564         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7565
7566 2003-03-13 André Pönitz <poenitz@gmx.net>
7567
7568         * lyxfunc.C:
7569         * text3.C:
7570         * factory.C: make it aware of InsetEnv
7571
7572 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * text2.C (setCursor): never ask for one past last
7575         (setCursor): add some debugging messages.
7576
7577         * text.C (singleWidth): never ask for one past last
7578         (singleWidth): ditto
7579         (leftMargin): ditto
7580         (rightMargin): ditto
7581         (rowBreakPoint): ditto
7582         (setHeightOfRow): ditto
7583         (prepareToPrint): ditto
7584
7585         * rowpainter.C (paintBackground): never ask for one past last
7586         (paintText): never ask for one past last
7587
7588         * paragraph_pimpl.C (getChar): make the assert stricter, never
7589         allow the one past last pos to be taken
7590
7591         * paragraph.C (getChar): ws changes only
7592
7593         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7594         (numberOfSeparators): ditto
7595         (numberOfHfills): ditto
7596
7597 2003-03-12  John Levon  <levon@movementarian.org>
7598
7599         * author.h:
7600         * author.C:
7601         * bufferparams.h:
7602         * bufferparams.C:
7603         * paragraph_funcs.C: fix per-buffer authorlists
7604
7605 2003-03-12  John Levon  <levon@movementarian.org>
7606
7607         * text.C: fix newline in right address
7608
7609 2003-03-12  Angus Leeming  <leeming@lyx.org>
7610
7611         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7612         duplicate those in LyXFunc::dispatch.
7613
7614         * commandtags.h:
7615         * LyXAction.C:
7616         * ToolbarDefaults.C:
7617         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7618         Add LFUN_FONTFREE_UPDATE.
7619
7620         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7621         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7622
7623         * bufferview_func.[Ch]: several new functions to facilliate
7624         transfer of data to and from the character dialog.
7625
7626 2003-03-12  John Levon  <levon@movementarian.org>
7627
7628         * buffer.C:
7629         * paragraph.h:
7630         * paragraph.C:
7631         * paragraph_funcs.C:
7632         * paragraph_pimpl.C:
7633         * sgml.C:
7634         * tabular.C:
7635         * text.C:
7636         * text3.C: remove META_NEWLINE in favour of an inset
7637
7638         * rowpainter.h:
7639         * rowpainter.C: remove paintNewline (done by inset)
7640
7641 2003-03-12  John Levon  <levon@movementarian.org>
7642
7643         * paragraph_pimpl.C: complain about bad getChar()s
7644         for a while at least
7645
7646 2003-03-12  John Levon  <levon@movementarian.org>
7647
7648         * buffer.h:
7649         * buffer.C: move paragraph read into a separate function,
7650         a little renaming to reflect that.
7651
7652         * bufferparams.h:
7653         * bufferparams.C: remove the author_ids map, not necessary now
7654
7655         * factory.h:
7656         * factory.C: moved Buffer::readInset to here
7657
7658         * paragraph_funcs.h:
7659         * paragraph_funcs.C: readParagraph free function moved from
7660         buffer.C
7661
7662         * tabular.C: name change
7663
7664 2003-03-12  John Levon  <levon@movementarian.org>
7665
7666         * buffer.C:
7667         * ParagraphParameters.C: move par params input to
7668         a read() method
7669
7670         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7671         behave like a normal read from the stream wrt reading
7672         a line vs. a \\token
7673
7674 2003-03-12  John Levon  <levon@movementarian.org>
7675
7676         * paragraph.C:
7677         * ParagraphParameters.h:
7678         * ParagraphParameters.C: move output code to a
7679         ::write() method
7680
7681 2003-03-12  John Levon  <levon@movementarian.org>
7682
7683         * BufferView.C (insertLyXFile):
7684         * buffer.h:
7685         * buffer.C:
7686         * tabular.C: use a parlist iterator for creating the
7687           document.
7688
7689 2003-03-12  John Levon  <levon@movementarian.org>
7690
7691         * buffer.C: make current_change static local not
7692           static file-scope
7693
7694 2003-03-12  John Levon  <levon@movementarian.org>
7695
7696         * buffer.C: fix insertStringAsLines for change tracking
7697
7698 2003-03-12  John Levon  <levon@movementarian.org>
7699
7700         * BufferView.C:
7701         * tabular.C:
7702         * buffer.h:
7703         * buffer.C:
7704         * bufferparams.h:
7705         * bufferparams.C: move author list into params. Rename some
7706           functions. Move the header reading into a separate token
7707           loop. Move the header token reading into BufferParams.
7708
7709 2003-03-12  John Levon  <levon@movementarian.org>
7710
7711         * changes.C: put debug inside lyxerr.debugging() checks
7712
7713 2003-03-11 André Pönitz <poenitz@gmx.net>
7714
7715         * factory.C: make it aware of InsetHFill
7716
7717 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7718
7719         * buffer.C (latexParagraphs): move function from here...
7720         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7721         args.
7722
7723 2003-03-10  Angus Leeming  <leeming@lyx.org>
7724
7725         * LyXAction.C (init): fix bug in poplating array with multiple entries
7726         with the same LFUN (spotted by JMarc).
7727
7728 2003-03-10  John Levon  <levon@movementarian.org>
7729
7730         * text.C:
7731         * text2.C: move getColumnNearX() near its
7732         only call site
7733
7734 2003-03-10  John Levon  <levon@movementarian.org>
7735
7736         * text.C: fix break before a minipage
7737
7738 2003-03-10  John Levon  <levon@movementarian.org>
7739
7740         * text.C: fix the last commit
7741
7742 2003-03-09  John Levon  <levon@movementarian.org>
7743
7744         * lyxtext.h:
7745         * text.C:
7746         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7747         bug 365 (don't break before insets unless needed). Don't
7748         return a value > last under any circumstances.
7749
7750 2003-03-09  Angus Leeming  <leeming@lyx.org>
7751
7752         * BufferView_pimpl.C (trackChanges, dispatch): call
7753         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7754
7755 2003-03-09  Angus Leeming  <leeming@lyx.org>
7756
7757         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7758         than Dialogs::showAboutlyx().
7759
7760 2003-03-09  Angus Leeming  <leeming@lyx.org>
7761
7762         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7763         than Dialogs::showTabularCreate().
7764
7765 2003-03-09  John Levon  <levon@movementarian.org>
7766
7767         * lyxtext.h:
7768         * text.C:
7769         * text2.C: 3rd arg to nextBreakPoint was always the same.
7770           Use references.
7771
7772 2003-03-08  John Levon  <levon@movementarian.org>
7773
7774         * lyxrow.C:
7775         * paragraph.C:
7776         * paragraph.h:
7777         * rowpainter.C:
7778         * text.C:
7779         * text2.C: Remove the "main" bit from the "main body"
7780           notion.
7781
7782 2003-03-08  John Levon  <levon@movementarian.org>
7783
7784         * text.C (leftMargin): The left margin of an empty
7785         manual label paragraph should not include the label width
7786         string length.
7787
7788         * text.C (prepareToPrint): don't attempt to measure hfills
7789         for empty manual label paragraphs - the answer should be 0
7790
7791 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7792
7793         * CutAndPaste.C: remove commented code and reindent.
7794
7795 2003-03-08  John Levon  <levon@movementarian.org>
7796
7797         * lyxfunc.h:
7798         * lyxfunc.C: move reloadBuffer()
7799
7800         * BufferView.h:
7801         * BufferView.C: to here
7802
7803         * lyxvc.C: add comment
7804
7805         * vc-backend.h:
7806         * vc-backend.C: call bv->reload() to avoid
7807           getStatus() check on MENURELOAD
7808
7809 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7810
7811         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7812         to an old format .dep file.
7813
7814 2003-03-07  Angus Leeming  <leeming@lyx.org>
7815
7816         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7817         when the LFUN_MOUSE_RELEASE should have been handled by
7818         inset->localDispatch.
7819
7820 2003-03-07  Angus Leeming  <leeming@lyx.org>
7821
7822         * BufferView_pimpl.C (dispatch):
7823         * LyXAction.C (init):
7824         * ToolbarDefaults.C (init):
7825         * commandtags.h:
7826         * lyxfunc.C (getStatus):
7827         remove LFUN_INSET_GRAPHICS.
7828
7829         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7830
7831 2003-03-07  Angus Leeming  <leeming@lyx.org>
7832
7833         * commandtags.h:
7834         * LyXAction.C (init):
7835         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7836
7837         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7838
7839         * commandtags.h:
7840         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7841
7842         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7843         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7844
7845 2003-03-07  Angus Leeming  <leeming@lyx.org>
7846
7847         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7848         remove "ert".
7849
7850 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7851
7852         * ParagraphList.C (front): new function
7853         (back): implement
7854
7855 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7856
7857         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7858         and top_row_offset_. removed var first_y.
7859         * text.C (top_y):
7860         * text2.C (LyXText, removeRow):
7861         * text3.C:
7862         * BufferView_pimpl.C:
7863         use these methods instead of using first_y
7864
7865 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7866
7867         * text2.C (pasteSelection): adjust for checkPastePossible
7868
7869         * CutAndPaste.C: remove Paragraph * buf and replace with
7870         ParagraphList paragraphs.
7871         (DeleteBuffer): delete
7872         (cutSelection): change the tc type to textclass_type
7873         (copySelection): change the tc type to textclass_type
7874         (copySelection): adjust for ParagraphList
7875         (pasteSelection): change the tc type to textclass_type
7876         (pasteSelection): adjust for Paragraphlist
7877         (nrOfParagraphs): simplify for ParagraphList
7878         (checkPastePossible): simplify for ParagraphList
7879         (checkPastePossible): remove unused arg
7880
7881         * ParagraphList.C (insert): handle the case where there are no
7882         paragraphs yet.
7883
7884         * CutAndPaste.h: make CutAndPaste a namespace.
7885
7886         * text3.C (dispatch): adjust
7887
7888         * text.C (breakParagraph): add a ParagraphList as arg
7889
7890         * paragraph_funcs.C (breakParagraph): change to take a
7891         BufferParams and a ParagraphList as args.
7892         (breakParagraphConservative): ditto
7893         (mergeParagraph): ditto
7894         (TeXDeeper): add a ParagraphList arg
7895         (TeXEnvironment): ditto
7896         (TeXOnePar): ditto
7897
7898         * buffer.C (readLyXformat2): adjust
7899         (insertStringAsLines): adjust
7900         (latexParagraphs): adjust
7901
7902         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7903         (cutSelection): adjust
7904         (pasteSelection): adjust
7905
7906         * BufferView_pimpl.C (insertInset): adjust
7907
7908 2003-03-05  Angus Leeming  <leeming@lyx.org>
7909
7910         * commandtags.h:
7911         * LyXAction.C (init):
7912         * BufferView_pimpl.C (dispatch):
7913         * lyxfunc.C (getStatus):
7914         remove LFUN_CHILD_INSERT.
7915
7916         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7917
7918 2003-03-05  Angus Leeming  <leeming@lyx.org>
7919
7920         * commandtags.h:
7921         * LyXAction.C (init):
7922         * src/factory.C (createInset):
7923         * lyxfunc.C (getStatus):
7924         * text3.C (dispatch):
7925         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7926
7927         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7928
7929 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7930
7931         * ParagraphList.C (insert): handle insert right before end()
7932         (erase): fix cases where it can be first or last paragraph.
7933
7934 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7935
7936         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7937         Paragraph::next and Paragraph::previous
7938         (TeXOnePar): ditto
7939
7940         * text.C (breakParagraph): adjust
7941
7942         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7943         BufferParams& as arg.
7944         (breakParagraph): use ParagraphList::insert
7945         (breakParagraphConservative): take a Buffer* instead of a
7946         BufferParams& as arg.
7947         (breakParagraphConservative): use ParagraphList::insert.
7948
7949         * buffer.C (insertStringAsLines): un-const it
7950         (insertStringAsLines): adjust
7951
7952         * ParagraphList.C (insert): new function
7953
7954         * CutAndPaste.C (pasteSelection): adjust
7955
7956         * text.C (backspace): adjust
7957
7958         * tabular.C (SetMultiColumn): adjust
7959
7960         * CutAndPaste.C (cutSelection): adjust
7961         (pasteSelection): adjust
7962
7963         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7964         Buffer const * as arg
7965
7966         * ParagraphList.C (erase): new function
7967         * paragraph_funcs.C (mergeParagraph): use it
7968         (mergeParagraph): make it take a Buffer* instead of a
7969         BufferParams* as arg
7970
7971         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7972         as arg
7973         (breakParagraphConservative): ditto
7974
7975         * paragraph.h: remove the breakParagraph friend
7976
7977         * paragraph.C (eraseIntern): new function
7978         (setChange): new function
7979
7980         * paragraph_funcs.C (mergeParagraph): make it take a
7981         ParagraphList::iterator instead of a Paragraph *, adjust
7982         accordingly.
7983
7984         * paragraph.h: move an #endif so that the change tracking stuff
7985         also works in the NO_NEXT case.
7986
7987 2003-03-04  Angus Leeming  <leeming@lyx.org>
7988
7989         * commandtags.h:
7990         * LyXAction.C: new LFUN_INSET_MODIFY.
7991
7992         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7993         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7994
7995 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7996
7997         * several files: ws changes only
7998
7999         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8000         (TeXEnvironment): ditto
8001         (TeXDeeper): ditto
8002
8003         * buffer.C (makeLaTeXFile): adjust
8004         (latexParagraphs): make it take ParagraphList::iterator as args
8005
8006 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8007
8008         * buffer.C (latexParagraphs): adjust
8009
8010         * paragraph.C (TeXOnePar): move function...
8011         (optArgInset): move function...
8012         (TeXEnvironment): move function...
8013         * paragraph_pimpl.C (TeXDeeper): move function...
8014         * paragraph_funcs.C: ...here
8015
8016         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8017
8018 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8019
8020         * buffer.C (readInset): remove compability code for old Figure and
8021         InsetInfo insets
8022
8023 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8024
8025         * buffer.C: ws changes
8026         (readInset):
8027
8028         * BufferView_pimpl.C: ditto
8029         * author.C: ditto
8030         * buffer.h: ditto
8031         * bufferlist.h: ditto
8032         * changes.h: ditto
8033         * lyxfunc.C: ditto
8034
8035 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8036
8037         * converter.[Ch]: split into itself +
8038         * graph.[Ch]
8039         * format.[Ch]
8040         * Makefile.am: += graph.[Ch] + format.[Ch]
8041         * MenuBackend.C
8042         * buffer.C
8043         * exporter.C
8044         * importer.C
8045         * lyx_main.C
8046         * lyxfunc.C
8047         * lyxrc.C: added #include "format.h"
8048
8049 2003-02-27  Angus Leeming  <leeming@lyx.org>
8050
8051         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8052           a label.
8053
8054         * factory.C (createInset): add "label" to the factory.
8055
8056         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8057           string and do no more.
8058
8059 2003-02-27  Angus Leeming  <leeming@lyx.org>
8060
8061         * commandtags.h:
8062         * LyXAction.C (init):
8063         * factory.C (createInset):
8064         * BufferView_pimpl.C (dispatch):
8065           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8066
8067         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8068
8069         * lyxfunc.C (dispatch):
8070         * text3.C (dispatch): pass name to params2string.
8071
8072 2003-02-26  Angus Leeming  <leeming@lyx.org>
8073
8074         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8075           blocks together.
8076           Rearrange the ~includes. Strip out the unnecessary ones.
8077
8078         * factory.C (createInset): reformat.
8079           create new insets for the various LFUN_XYZ_APPLY lfuns.
8080
8081 2003-02-26  John Levon  <levon@movementarian.org>
8082
8083         * lyxrow.h:
8084         * lyxrow.C: add isParStart,isParEnd helpers
8085
8086         * paragraph.h: make isInserted/DeletedText take refs
8087
8088         * paragraph_funcs.h:
8089         * paragraph_funcs.C: remove #if 0'd code
8090
8091         * lyxtext.h:
8092         * text3.C:
8093         * text2.C:
8094         * text.C: use lyxrow helpers above.
8095           Move draw and paint routines to RowPainter.
8096           Make several methods use refs not pointers.
8097           Make backgroundColor() const.
8098           Add markChangeInDraw(), isInInset().
8099           Merge changeRegionCase into changeCase.
8100           Make workWidth() shouldn't-happen code into an Assert.
8101
8102         * rowpainter.h:
8103         * rowpainter.C: new class for painting a row.
8104
8105         * vspace.h:
8106         * vspace.C: make inPixels take a ref
8107
8108 2003-02-26  Angus Leeming  <leeming@lyx.org>
8109
8110         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8111         LFUN_REF_APPLY.
8112
8113 2003-02-25  John Levon  <levon@movementarian.org>
8114
8115         * ispell.C: give the forked command a more accurate name
8116
8117 2003-02-22  John Levon  <levon@movementarian.org>
8118
8119         * toc.h:
8120         * toc.C: make TocItem store an id not a Paragraph *
8121           (bug #913)
8122
8123 2003-02-21  Angus Leeming  <leeming@lyx.org>
8124
8125         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8126           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8127           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8128           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8129           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8130           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8131
8132         * BufferView_pimpl.C (dispatch):
8133         * LyXAction.C (init):
8134         * factory.C (createInset):
8135         * lyxfunc.C (getStatus, dispatch):
8136         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8137
8138 2003-02-21  Angus Leeming  <leeming@lyx.org>
8139
8140         * BufferView_pimpl.C (MenuInsertLyXFile):
8141         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8142         * lyxfunc.C (menuNew, open, doImport):
8143           no longer pass a LyXView & to fileDlg.
8144
8145 2003-02-21  Angus Leeming  <leeming@lyx.org>
8146
8147         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8148         * LyXAction.C: change, BIBKEY to BIBITEM.
8149         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8150         Change InsetBibKey to InsetBibitem.
8151         Change BIBKEY_CODE to BIBITEM_CODE.
8152         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8153         * factory.C: replace insetbib.h with insetbibitem.h.
8154         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8155         * paragraph.C: replace insetbib.h with insetbibitem.h.
8156         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8157         Change bibkey() to bibitem().
8158         * text.C: remove insetbib.h.
8159         * text2.C: replace insetbib.h with insetbibitem.h.
8160         change bibkey() to bibitem().
8161         * text3.C: remove insetbib.h.
8162         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8163
8164 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8165
8166         * lyxrc.C (output): enclose user email in quotes (in case there are
8167         several words)
8168
8169 2003-02-18  John Levon  <levon@movementarian.org>
8170
8171         * buffer.h: add std::
8172
8173 2003-02-17  John Levon  <levon@movementarian.org>
8174
8175         * SpellBase.h:
8176         * ispell.h:
8177         * ispell.C:
8178         * pspell.h:
8179         * pspell.C: reworking. Especially in ispell, a large
8180           number of clean ups and bug fixes.
8181
8182         * lyxfunc.C: fix revert to behave sensibly
8183
8184 2003-02-17 André Pönitz <poenitz@gmx.net>
8185
8186         * LyXAction.C:
8187         * commandtags.h: new LFUN_INSERT_BIBKEY
8188
8189         * layout.h:
8190         * lyxlayout.C:
8191         * buffer.C:
8192         * factory.C:
8193         * text.C:
8194         * text2.C:
8195         * text3.C:
8196         * paragraph.[Ch]:
8197         * paragraph_func.C: remove special bibkey handling
8198
8199 2003-02-17  John Levon  <levon@movementarian.org>
8200
8201         * text.C (Delete): fix case where delete at the end of
8202           the very first paragraph would not merge the pars
8203
8204 2003-02-17  John Levon  <levon@movementarian.org>
8205
8206         * lyxrow.C: fix lastPrintablePos()
8207
8208 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8209
8210         * bufferparams.C (writeLaTeX): add a std:here
8211
8212         * buffer.C: and remove a using directive there
8213
8214 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8215
8216         * buffer.C (makeLaTeXFile): move the code that generates the
8217           preamble...
8218
8219         * bufferparams.C (writeLaTeX): ... in this new method
8220
8221         * LaTeXFeatures.C (getEncodingSet): make const
8222           (getLanguages): make const
8223
8224         * MenuBackend.C (binding): returns the binding associated to this
8225           action
8226           (add): sets the status of each item by calling getStatus. Adds
8227           some intelligence.
8228           (read): add support for OptSubMenu
8229           (expand): remove extra separator at the end of expanded menu
8230
8231 2003-02-15  John Levon  <levon@movementarian.org>
8232
8233         * BufferView.C:
8234         * BufferView_pimpl.C:
8235         * bufferlist.h:
8236         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8237           inset code that had no actual effect. Remove unneeded status
8238           code.
8239
8240 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8241
8242         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8243           in preamble
8244
8245 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8246
8247         * text.C (drawLengthMarker): also draw an arrow marker for
8248           symbolic lengths (medskip...)
8249
8250 2003-02-14  John Levon  <levon@movementarian.org>
8251
8252         * tabular.h:
8253         * tabular.C: better method names
8254
8255 2003-02-14  John Levon  <levon@movementarian.org>
8256
8257         * BufferView_pimpl.C:
8258         * bufferlist.C:
8259         * buffer.C:
8260         * converter.C:
8261         * lyx_cb.C:
8262         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8263           it's a more accurate name. Remove some pointless uses.
8264
8265 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8266
8267         * text2.C (LyXText): change order of initilizers to shut off
8268           warnings
8269
8270 2003-02-14  John Levon  <levon@movementarian.org>
8271
8272         * buffer.C: use ParIterator for getParFromID()
8273
8274         * paragraph.h:
8275         * paragraph.C:
8276         * paragraph_pimpl.h:
8277         * paragraph_pimpl.C: remove unused getParFromID()
8278
8279 2003-02-14  John Levon  <levon@movementarian.org>
8280
8281         * buffer.C: remove some very old #if 0'd parse code
8282
8283 2003-02-13  John Levon  <levon@movementarian.org>
8284
8285         * text.h:
8286         * text.C:
8287         * text2.C: move hfillExpansion(), numberOfSeparators(),
8288           rowLast(), rowLastPrintable(), numberofHfills(),
8289           numberOfLabelHfills() ...
8290
8291         * lyxrow.h:
8292         * lyxrow.C: ... to member functions here.
8293
8294         * paragraph.h:
8295         * paragraph.C:
8296         * lyxtext.h:
8297         * text.C: remove LyXText::beginningOfMainBody(), and call
8298           p->beginningOfMainBody() directly. Move the check for
8299           LABEL_MANUAL into the latter.
8300
8301         * text.h:
8302         * text.C:
8303         * text2.C:
8304         * vspace.C:
8305         * BufferView.h:
8306         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8307
8308         * text.h:
8309         * text.C:
8310         * text2.C:
8311         * text3.C:
8312         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8313           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8314
8315 2003-02-13  John Levon  <levon@movementarian.org>
8316
8317         * CutAndPaste.C: remove debug
8318
8319 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8320
8321         * paragraph.C (asString): remove two unused variables
8322
8323         * lyxtextclass.C (readTitleType):
8324           (Read):
8325           (LyXTextClass): handle new members titletype_ and titlename_
8326
8327         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8328
8329 2003-02-09  John Levon  <levon@movementarian.org>
8330
8331         * buffer.h:
8332         * buffer.C: replace hand-coded list with a map for the dep clean
8333
8334 2003-02-08  John Levon  <levon@movementarian.org>
8335
8336         * LaTeX.C: consolidate code into showRunMessage() helper
8337
8338 2003-02-08  John Levon  <levon@movementarian.org>
8339
8340         * lyxfind.C:
8341         * lyxtext.h:
8342         * text2.C:
8343         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8344           and pass the size in explicitly
8345
8346         * BufferView_pimpl.h:
8347         * BufferView_pimpl.C:
8348         * BufferView.h:
8349         * BufferView.C: add getCurrentChange()
8350
8351         * BufferView_pimpl.h:
8352         * BufferView_pimpl.C: handle change lfuns
8353
8354         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8355           for changes. Mark pasted paragraphs as new.
8356
8357         * support/lyxtime.h:
8358         * support/lyxtime.C:
8359         * DepTable.C: abstract time_t as lyx::time_type
8360
8361         * LColor.h:
8362         * LColor.C: add colours for new text, deleted text, changebars
8363
8364         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8365           package use "usenames" option.
8366
8367         * commandtags.h:
8368         * lyxfunc.C:
8369         * LyXAction.C: add change lfuns
8370
8371         * Makefile.am:
8372         * author.h:
8373         * author.C: author handling
8374
8375         * buffer.h:
8376         * buffer.C: add a per-buffer author list, with first entry as
8377           current author. Handle new .lyx tokens for change tracking. Output
8378           author list to .lyx file. Output dvipost stuff to .tex preamble.
8379           Bump lyx format to 222.
8380
8381         * bufferlist.h:
8382         * bufferlist.C: add setCurrentAuthor() to reset current author details
8383           in all buffers.
8384
8385         * bufferparams.h:
8386         * bufferparams.C: add param for tracking
8387
8388         * bufferview_funcs.C: output change info in minibuffer
8389
8390         * Makefile.am:
8391         * changes.h:
8392         * changes.C: add change-tracking structure
8393
8394         * debug.h:
8395         * debug.C: add CHANGES debug flag
8396
8397         * lyxfind.h:
8398         * lyxfind.C: add code for finding the next change piece
8399
8400         * lyxrc.h:
8401         * lyxrc.C: add user_name and user_email
8402
8403         * lyxrow.h:
8404         * lyxrow.C: add a metric for the top of the text line
8405
8406         * lyxtext.h:
8407         * text.C: implement accept/rejectChange()
8408
8409         * lyxtext.h:
8410         * text.C: paint changebars. Paint new/deleted text in the chosen
8411         colours. Strike through deleted text.
8412
8413         * paragraph.h:
8414         * paragraph.C:
8415         * paragraph_pimpl.h:
8416         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8417           in the current change to the insert functions. Rework erase to
8418           mark text as deleted, adding an eraseIntern() and a range-based
8419           erase(). Implement per-paragraph change lookup and
8420           accept/reject.
8421
8422         * paragraph_funcs.C: Fixup paste for change tracking.
8423
8424         * tabular.C: mark added row/columns as new.
8425
8426         * text.C: fix rowLast() to never return -1. Don't allow
8427           spellchecking of deleted text. Track transpose changes. Don't
8428           allow paragraph break or merge where appropriate.
8429
8430         * text2.C: leave cursor at end of selection after a cut.
8431
8432 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8433
8434         * text.C (getLengthMarkerHeight):
8435         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8436         visible on screen too.
8437
8438 2003-02-07  John Levon  <levon@movementarian.org>
8439
8440         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8441
8442 2003-02-05  Angus Leeming  <leeming@lyx.org>
8443
8444         * lyxserver.C (read_ready): revert my patch of 11 September last year
8445         as it sends PC cpu through the roof. Presumably this means that
8446         the lyxserver will no longer run on an Alpha...
8447
8448 2003-01-30  Angus Leeming  <leeming@lyx.org>
8449
8450         * factory.C (createInset): create an InsetCommandParam of type "index"
8451         and use it to 'do the right thing'.
8452
8453         * text2.C (getStringToIndex): ensure that cursor position is always
8454         reset to the reset_cursor position.
8455
8456 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8457
8458         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8459         disabled.
8460
8461 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8462
8463         * bufferview.C:
8464         * lyxcb.C:
8465         * lyxfunc.C: Output messages with identical spelling, punctuation,
8466         and spaces
8467
8468 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8469
8470         * MenuBackend.C (expandFormats): List only viewable export formats
8471         in "View" menu
8472
8473         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8474         message
8475
8476         * lyxfunc.C (getStatus): Make sure that formats other than
8477         "fax" can also be disabled
8478
8479 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8480
8481         * text3.C (dispatch): put the lfuns that insert insets in 3
8482         groups, and call doInsertInset with appropriate arguments.
8483         (doInsertInset): new function, that creates an inset and inserts
8484         it according to some boolean parameters.
8485
8486 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8487
8488         * buffer.C (readFile): remember to pass on 'par' when calling
8489         readFile recursively.
8490
8491 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8492
8493         * MenuBackend.C (expandFormats): add "..." to import formats.
8494
8495 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8496
8497         * paragraph.C (asString): Remove XForms RTL hacks.
8498
8499 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8500         * buffer.C: fix typo
8501
8502 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8503
8504         * Makefile.am (LIBS): delete var
8505         (lyx_LDADD): add @LIBS@ here instead.
8506
8507 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8508
8509         * Clarify the meaning of "wheel mouse jump"
8510
8511 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8512
8513         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8514         tabular in a float
8515
8516 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8517
8518         * importer.C (Loaders): do not preallocate 3 elements in the
8519         vector, since one ends up with 6 elements otherwise
8520
8521 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8522
8523         * DepTable.C (write): write the file name as last element of the
8524         .dep file (because it may contain spaces)
8525         (read): read info in the right order
8526
8527 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8528
8529         * paragraph_pimpl.C (simpleTeXBlanks):
8530         (simpleTeXSpecialChars):
8531         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8532
8533         * tabular.C (latex): add some missing case statements. Reindent.
8534
8535         * MenuBackend.C (expandToc): remove unused variable.
8536
8537 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8538
8539         * LColor.C:
8540         * LaTeX.C:
8541         * LyXAction.C:
8542         * MenuBackend.C:
8543         * buffer.C:
8544         * exporter.C:
8545         * lyxfunc.C:
8546         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8547         and the like.
8548
8549 2003-01-05  John Levon  <levon@movementarian.org>
8550
8551         * BufferView.h:
8552         * BufferView.C: add getEncoding()
8553
8554         * kbsequence.h:
8555         * kbsequence.C: do not store last keypress
8556
8557         * lyxfunc.h:
8558         * lyxfunc.C: store last keypress here instead. Pass encoding
8559           to getISOEncoded()
8560
8561 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8562
8563         * lyx_main.C (init): remove annoying error message when following
8564         symbolic links (bug #780)
8565
8566 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8567
8568         * text.C (insertChar):
8569         * lyxrc.C (getDescription): remove extra spaces
8570
8571 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8572
8573         * lyxrc.C (getDescription): remove extra spaces
8574
8575 2002-12-20  John Levon  <levon@movementarian.org>
8576
8577         * text3.C: hack fix for page up/down across tall rows
8578
8579 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8580
8581         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8582         not been invoked
8583
8584 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8585
8586         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8587         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8588         thesaurus is not compiled in
8589
8590 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8591
8592         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8593
8594 2002-12-16  Angus Leeming  <leeming@lyx.org>
8595
8596         * lyxrc.[Ch]:
8597         * lyx_main.C (init): remove override_x_deadkeys stuff.
8598
8599 2002-12-12  John Levon  <levon@movementarian.org>
8600
8601         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8602           insert. Only remove shift modifier under strict
8603           circumstances.
8604
8605 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8606
8607         * MenuBackend.C (expandToc): fix crash.
8608
8609 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8610
8611         * MenuBackend.C (expandToc): gettext on float names.
8612
8613 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8614
8615         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8616         implement bool empty() [bug 490]
8617
8618 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8621
8622 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8623
8624         * several files: ws changes
8625
8626 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8627
8628         * text2.C (setCounter): clean up a bit, use boost.format.
8629         (updateCounters): initialize par upon declaration.
8630
8631         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8632         if the layout exists. We do not just store the layout any more.
8633         (SwitchLayoutsBetweenClasses): use boost.format
8634
8635 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8636
8637         * converter.C (convert): if from and to files are the same, use a
8638         temporary files as intermediary
8639
8640 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8641
8642         * commandtags.h:
8643         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8644
8645 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8646
8647         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8648
8649 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8650
8651         * tabular.C (asciiPrintCell): use string(size, char) instead of
8652         explicit loop.
8653
8654         * sgml.C (openTag): fix order of arguments to string constructor
8655         (closeTag): ditto
8656
8657         * lyxfunc.C (dispatch): use boost.format
8658
8659         * lots of files: change "c" -> 'c'
8660
8661 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8662
8663         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8664
8665 2002-11-25  Angus Leeming  <leeming@lyx.org>
8666
8667         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8668
8669         * lyx_main.C (init): compile fix.
8670
8671 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8672
8673         * lyx_cb.C (start): boost.formatify
8674         do not include <iostream>
8675
8676         * lengthcommon.C: ws only
8677
8678         * boost-inst.C,BoostFormat.h: add more explict instantations
8679
8680 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * lots of files: handle USE_BOOST_FORMAT
8683
8684 2002-11-21  John Levon  <levon@movementarian.org>
8685
8686         * pspell.C: fix compile
8687
8688 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8689
8690         * lyxfunc.C (dispatch): use boost::format
8691         (open): ditto
8692         (doImport): ditto
8693
8694         * lyxfont.C (stateText): use boost::format
8695
8696         * lyx_main.C (LyX): use boost::format
8697         (init): ditto
8698         (queryUserLyXDir): ditto
8699         (readRcFile): ditto
8700         (parse_dbg): ditto
8701         (typedef boost::function): use the recommened syntax.
8702
8703         * importer.C (Import): use boost::format
8704
8705         * debug.C (showLevel): use boost::format
8706
8707         * converter.C (view): use boost::format
8708         (convert): ditto
8709         (move): ditto
8710         (scanLog): ditto
8711
8712         * bufferview_funcs.C (currentState): use boost::format
8713
8714         * bufferlist.C (emergencyWrite): use boost::format
8715
8716         * buffer.C (readLyXformat2): use boost::format
8717         (parseSingleLyXformat2Token): ditto
8718
8719         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8720
8721         * LaTeX.C (run): use boost::format
8722
8723         * Chktex.C (scanLogFile): use boost::format
8724
8725         * BufferView_pimpl.C (savePosition): use boost::format
8726         (restorePosition): ditto
8727         (MenuInsertLyXFile): ditto
8728
8729         * BoostFormat.h: help file for explicit instation.
8730
8731 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8732
8733         * tabular.C (latex): Support for block alignment in fixed width
8734         columns.
8735
8736 2002-11-17  John Levon  <levon@movementarian.org>
8737
8738         * BufferView_pimpl.C:
8739         * lyx_cb.C:
8740         * lyxfunc.C: split filedialog into open/save
8741
8742 2002-11-08  Juergen Vigna  <jug@sad.it>
8743
8744         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8745         by my last patch (hopefully).
8746
8747 2002-11-08  John Levon  <levon@movementarian.org>
8748
8749         * iterators.h:
8750         * iterators.C:
8751         * buffer.h:
8752         * buffer.C:
8753         * paragraph.h:
8754         * paragraph.C:
8755         * toc.h:
8756         * toc.C: ParConstIterator, and use it (from Lars)
8757
8758 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8759
8760         * lyxtextclass.[Ch]: revise and add doxygen comments
8761
8762 2002-11-07  John Levon  <levon@movementarian.org>
8763
8764         * text.C: fix progress value for spellchecker
8765
8766         * toc.C: fix navigate menu for insetwrap inside minipage
8767
8768         * paragraph_funcs.C: added FIXME for suspect code
8769
8770 2002-11-07  John Levon  <levon@movementarian.org>
8771
8772         * BufferView_pimpl.C: fix redrawing of insets
8773           on buffer switch
8774
8775 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8776
8777         * text2.C (updateCounters): fix bug 668
8778
8779 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8780
8781         * text3.C (dispatch): Do not make the buffer dirty when moving the
8782         cursor.
8783
8784 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8785
8786         * vc-backend.C: STRCONV
8787         (scanMaster): ditto
8788
8789         * text2.C (setCounter): STRCONV
8790
8791         * paragraph.C (asString): STRCONV
8792
8793         * lyxlength.C (asString): STRCONV
8794         (asLatexString): ditto
8795
8796         * lyxgluelength.C (asString): STRCONV
8797         (asLatexString): ditto
8798
8799         * lyxfunc.C (dispatch): STRCONV
8800         (open): ditto
8801
8802         * lyxfont.C (stateText): STRCONV
8803
8804         * importer.C (Import): STRCONV
8805
8806         * counters.C (labelItem): STRCONV
8807         (numberLabel): ditto
8808         (numberLabel): remove unused ostringstream o
8809
8810         * chset.C: STRCONV
8811         (loadFile): ditto
8812
8813         * bufferview_funcs.C (currentState): STRCONV
8814
8815         * buffer.C (readFile): STRCONV
8816         (asciiParagraph): ditto
8817         (makeLaTeXFile): ditto
8818
8819         * Spacing.C (writeEnvirBegin): STRCONV
8820
8821         * LaTeXFeatures.C (getLanguages): STRCONV
8822         (getPackages): ditto
8823         (getMacros): ditto
8824         (getBabelOptions): ditto
8825         (getTClassPreamble): ditto
8826         (getLyXSGMLEntities): ditto
8827         (getIncludedFiles): ditto
8828
8829         * LaTeX.C: STRCONV
8830         (run): ditto
8831         (scanAuxFile): ditto
8832         (deplog): ditto
8833
8834         * LString.h: add the STRCONV macros
8835
8836         * BufferView_pimpl.C (savePosition): STRCONV
8837         (restorePosition): ditto
8838         (MenuInsertLyXFile): ditto
8839
8840         * vc-backend.C (scanMaster): change from submatch[...] to
8841         submatch.str(...)
8842
8843         * funcrequest.C: include config.h
8844
8845         * factory.C: include config.h
8846
8847         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8848
8849         * box.C: include config.h
8850
8851         * LaTeX.C (scanAuxFile): change from submatch[...] to
8852         submatch.str(...)
8853         (deplog): ditto
8854
8855 2002-10-25  Angus Leeming  <leeming@lyx.org>
8856
8857         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8858
8859         * ispell.[Ch] (setError): new method.
8860         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8861         Use setError() insetead of goto END.
8862
8863         * lyx_cb.C (AutoSave): move out child process into new class
8864         AutoSaveBuffer.
8865
8866 2002-10-30  John Levon  <levon@movementarian.org>
8867
8868         * text3.C: make start appendix undoable
8869
8870 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8871
8872         * lyxlength.C (inPixels): Fix returned value.
8873
8874         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8875         environment.
8876
8877 2002-10-24  Angus Leeming  <leeming@lyx.org>
8878
8879         * lyxgluelength.h: no need to forward declare BufferParams
8880         or BufferView, so don't.
8881
8882 2002-10-21  John Levon  <levon@movementarian.org>
8883
8884         * BufferView.C: menuUndo ->undo, redo
8885
8886         * BufferView.h: document, remove dead, make some methods private
8887
8888         * paragraph_funcs.h:
8889         * paragraph_funcs.C:
8890         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8891
8892         * buffer.h:
8893         * buffer.C:
8894         * sgml.h:
8895         * sgml.C: move sgml open/close tag into sgml.C
8896
8897         * bufferview_funcs.h: unused prototype
8898
8899         * lyxfunc.h:
8900         * lyxfunc.C: remove unused
8901
8902         * lyxtext.h:
8903         * text.C: remove unused
8904
8905 2002-10-21  John Levon  <levon@movementarian.org>
8906
8907         * BufferView.h:
8908         * BufferView.C:
8909         * BufferView_pimpl.h:
8910         * BufferView_pimpl.C: fix mouse wheel handling based on
8911           patch from Darren Freeman
8912
8913 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8914
8915         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8916
8917 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8918
8919         * lyxlength.C (inPixels): Fix hanfling of negative length.
8920         Fix LyXLength::MU case.
8921
8922 2002-10-16  John Levon  <levon@movementarian.org>
8923
8924         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8925
8926 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8927
8928         * converter.C (view): add support for $$i (file name) and $$p
8929         (file path) for the viewer command. If $$i is not specified, then
8930         it is appended to the command (for compatibility with old syntax)
8931
8932 2002-10-14  Juergen Vigna  <jug@sad.it>
8933
8934         * undo_funcs.C (textHandleUndo): alter the order in which the
8935         new undopar is added to the LyXText, as we have to set first
8936         the right prev/next and then add it as otherwise the rebuild of
8937         LyXText is not correct. Also reset the cursor to the right paragraph,
8938         with this IMO we could remove the hack in "redoParagraphs()".
8939
8940 2002-10-09  Angus Leeming  <leeming@lyx.org>
8941
8942         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8943         to turn off an optimisation if a new inset is to be inserted.
8944
8945 2002-10-11 André Pönitz <poenitz@gmx.net>
8946
8947         * lyxtext.h: make some functions public to allow access
8948         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8949
8950 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8951
8952         * text3.C (dispatch): when changing layout, avoid an infinite loop
8953         [bug #652]
8954
8955 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8956
8957         * lyxrc.C (read): treat a viewer or converter command of "none" as
8958         if it were empty.
8959
8960         * MenuBackend.C (expandFormats): for an update, also allow the
8961         formats that are not viewable
8962
8963         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8964         script if it is newer than the lyxrc.defaults in user directory
8965
8966 2002-10-07 André Pönitz <poenitz@gmx.net>
8967
8968         * text.C: Vitaly Lipatov's small i18n fix
8969
8970 2002-09-25  Angus Leeming  <leeming@lyx.org>
8971
8972         * ispell.h: doxygen fix.
8973
8974 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8975
8976         * buffer.h (readFile): Add a new argument to the method, to allow
8977         reading of old-format templates.
8978
8979 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8980
8981         * toc.C (getTocList): Get TOC from InsetWrap.
8982
8983 2002-09-16  John Levon  <levon@movementarian.org>
8984
8985         * lyxfunc.C: check tabular for cut/copy too
8986
8987 2002-09-12  John Levon  <levon@movementarian.org>
8988
8989         * LyXAction.C: tidy
8990
8991         * factory.h:
8992         * factory.C: add header
8993
8994         * paragraph_funcs.h:
8995         * paragraph_funcs.C: cleanup
8996
8997 2002-09-11  John Levon  <levon@movementarian.org>
8998
8999         * PrinterParams.h: odd/even default to true
9000
9001 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9002
9003         * PrinterParams.h: update printer parameters for new xforms dialog
9004
9005 2002-09-11  Angus Leeming  <leeming@lyx.org>
9006
9007         * lyxserver.C (read_ready): re-write to make it more transparent
9008         and to make it work in coherent fashion under Tru64 Unix.
9009
9010 2002-09-11  André Pönitz <poenitz@gmx.net>
9011
9012         * commandtags.h:
9013         * LyXAction.C:
9014         * text3.C: implement LFUN_WORDSEL
9015
9016 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9017
9018         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9019         make floatlist_ a boost::shared_ptr<FloatList>
9020
9021         * lyxtextclass.C: include FloatList.h
9022         (LyXTextClass): initialize floatlist_
9023         (TextClassTags): add TC_NOFLOAT
9024         (Read): match "nofloat" to TC_NOFLOAT and use it.
9025         (readFloat): modify call to floatlist_
9026         (floats): ditto
9027         (floats): ditto
9028
9029         * FloatList.[Ch] (FloatList): remove commented out float
9030         initialization.
9031         (erase): new function
9032
9033 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9034
9035         * MenuBackend.C (expandToc): fix crash when there is no document
9036         open
9037
9038 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9039
9040         * many files: Add insetwrap.
9041
9042 2002-09-09  John Levon  <levon@movementarian.org>
9043
9044         * text2.C: remove confusing and awkward depth wraparound
9045
9046 2002-09-09  John Levon  <levon@movementarian.org>
9047
9048         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9049
9050         * buffer.h:
9051         * buffer.C: remove getIncludeonlyList()
9052
9053         * paragraph.C:
9054         * lyxfunc.C: remove headers
9055
9056 2002-09-09  Juergen Vigna  <jug@sad.it>
9057
9058         * text.C (getColumnNearX): fix form Michael this is most
9059         probably a cut&paste bug.
9060
9061 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9062
9063         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9064
9065         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9066         references, ws changes.
9067
9068         * text2.C (init): update counters after init
9069         (insertParagraph): no need to set counter on idividual paragraphs.
9070         (setCounter): access the counters object in the textclass object
9071         on in the buffer object.
9072         (updateCounters): ditto
9073
9074         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9075         shared_ptr<Counters> to avoid loading counters.h in all
9076         compilation units.
9077         (LyXTextClass): initialize ctrs_
9078         (TextClassTags): add TC_COUNTER, and ...
9079         (Read): use it here.
9080         (CounterTags): new tags
9081         (readCounter): new function
9082         (counters): new funtion
9083         (defaultLayoutName): return a const reference
9084
9085         * counters.C (Counters): remove contructor
9086         (newCounter): remove a couple of unneeded statements.
9087         (newCounter): simplify a bit.
9088         (numberLabel): some small formatting changes.
9089
9090         * buffer.[Ch]: remove all traces of counters, move the Counters
9091         object to the LyXTextClass.
9092
9093 2002-09-06  Alain Castera  <castera@in2p3.fr>
9094
9095         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9096         package to set the horizontal alignment on fixed width columns.
9097
9098         * lyx_sty.C:
9099         * lyx_sty.h: added tabularnewline macro def.
9100
9101         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9102
9103 2002-09-06  John Levon  <levon@movementarian.org>
9104
9105         * LyXAction.C: tooltips for sub/superscript
9106
9107         * MenuBackend.C: a bit more verbose
9108
9109         * lyxfunc.C: tiny clean
9110
9111         * undo_funcs.C: document undo_frozen
9112
9113 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9114
9115         * counters.C (Counters): add missing algorithm counter.
9116
9117         * text2.C (setCounter): lookup the counter with layouts latexname
9118         instead of by section number.
9119         (setCounter): use a hackish way to lookup the correct enum
9120         counter.
9121         a float name->type change
9122         reset enum couners with counter name directly instead of depth value.
9123
9124         * counters.C (Counters): remove the push_backs, change to use the
9125         float type not the float name.
9126         (labelItem): remove unused string, float name->type change
9127
9128         * counters.h: don't include vector, loose the enums and sects vectors
9129
9130 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9131
9132         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9133         (Read): add float->TC_FLOAT to textclassTags
9134         (Read): and handle it in the switch
9135         (readFloat): new function
9136
9137         * FloatList.C (FloatList): comment out the hardcoded float
9138         definitions.
9139
9140         * lyxlayout.h: ws change.
9141
9142 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9143
9144         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9145
9146 2002-09-03  Angus Leeming  <leeming@lyx.org>
9147
9148         * BufferView_pimpl.h: qualified name is not allowed in member
9149         declaration: WorkArea & Pimpl::workarea() const;
9150
9151         * factory.C: added using std::endl directive.
9152
9153         * text3.C: added using std::find and std::vector directives.
9154
9155 2002-08-29  André Pönitz <poenitz@gmx.net>
9156
9157         * lyxtext.h:
9158         * text2.C: remove unused member number_of_rows
9159
9160         * Makefile.am:
9161         * BufferView2.C: remove file, move contents to...
9162         * BufferView.C: ... here
9163
9164         * BufferView_pimpl.C:
9165         * factory.C: move more inset creation to factory
9166
9167         * vspace.C: avoid direct usage of LyXText, ws changes
9168
9169         * BufferView.[Ch]:
9170                 don't provide direct access to WorkArea, use two simple
9171                 acessors haveSelction() and workHeight() instead
9172
9173
9174 2002-08-29  John Levon  <levon@movementarian.org>
9175
9176         * BufferView_pimpl.C (dispatch): do not continue when
9177           no buffer
9178
9179 2002-08-28  André Pönitz <poenitz@gmx.net>
9180
9181         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9182
9183         * BufferView.h:
9184         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9185
9186 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9187
9188         * buffer.C: increment LYX_FORMAT to 221
9189
9190         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9191         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9192
9193         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9194
9195         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9196
9197 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9198
9199         * factory.C (createInset): use LyXTextClass::floats
9200
9201         * MenuBackend.C (expandFloatListInsert):
9202         (expandFloatInsert):
9203         (expandToc):
9204
9205         * text2.C (setCounter):
9206
9207         * LaTeXFeatures.C (useFloat):
9208         (getFloatDefinitions):
9209
9210         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9211
9212         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9213         floatlist_, with accessor floats().
9214
9215         * FloatList.h: remove global FloatList
9216
9217 2002-08-26  André Pönitz <poenitz@gmx.net>
9218
9219         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9220
9221         * BufferView.h:
9222         * BufferView2.C:
9223         * BufferView_pimpl.C:
9224         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9225
9226 2002-08-25  John Levon  <levon@movementarian.org>
9227
9228         * LyXAction.C: fix margin note description
9229
9230 2002-08-24  John Levon  <levon@movementarian.org>
9231
9232         * buffer.C:
9233         * bufferlist.C:
9234         * bufferview_funcs.C:
9235         * lyxfont.C:
9236         * undo_funcs.C: cleanups
9237
9238         * lyxfunc.C: disable CUT/COPY when no selection
9239
9240 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9241
9242         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9243         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9244
9245         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9246         Add backward compatibility to "mono", "gray" and "no".
9247
9248 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9249
9250         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9251         (and file_format >= 200).
9252
9253 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9254
9255         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9256
9257 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9258
9259         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9260
9261 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9262
9263         * BufferView_pimpl.C:
9264         * LyXAction.C:
9265         * buffer.C:
9266         * commandtags.h:
9267         * lyxfunc.C:
9268         * paragraph.[Ch]:
9269         * text2.C:
9270         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9271         inset and code to make it  work with the paragraph code. The inset
9272         can be anywhere in the paragraph, but will only do the expected
9273         thing in LaTeX if the layout file contains the parameter line
9274                         OptionalArgs    1
9275         (or more generally, a nonzero value) for that layout.
9276
9277 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9278
9279         * paragraph.h: remove the declaration of undefined counters class
9280         function.
9281
9282 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9283
9284         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9285         Dr. Richard Hawkins.
9286
9287 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9288
9289         * paragraph_funcs.h: remove some unneeded includes
9290
9291         * text.C (backspace): pasteParagraph now in global scipe
9292
9293         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9294         (pasteSelection): ditto
9295
9296         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9297         * paragraph_funcs.C (pasteParagraph): ... here
9298
9299 2002-08-20  André Pönitz <poenitz@gmx.net>
9300
9301         * commandtags.h: new LFUNs for swapping/copying table row/colums
9302
9303         * LyXAction.C:
9304         * lyxfunc.C: support for new lfuns
9305
9306 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9307
9308         * tabular.C:
9309         * buffer.[Ch]: remove NO_COMPABILITY stuff
9310
9311 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9312
9313         * boost.C (throw_exception): new file, with helper function for
9314         boost compiled without exceptions.
9315
9316         * paragraph.h:
9317         * lyxlength.C:
9318         * buffer.C:
9319         * ParameterStruct.h:
9320         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9321
9322         * bufferlist.C (emergencyWriteAll): use boost bind
9323
9324         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9325
9326         * text.C: include paragraph_funcs.h
9327         (breakParagraph): breakParagraph is now in global scope
9328
9329         * paragraph_funcs.[Ch]: new files
9330
9331         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9332         global scope
9333
9334         * buffer.C: include paragraph_funcs.h
9335         (insertStringAsLines): breakParagraph is now in global scope
9336
9337         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9338         paragraph_funcs.C
9339
9340         * CutAndPaste.C: include paragraph_funcs.h
9341         (cutSelection): breakParagraphConservative is now in global scope
9342         (pasteSelection): ditto
9343
9344         * buffer.h: declare oprator== and operator!= for
9345         Buffer::inset_iterator
9346
9347         * bufferlist.C (emergencyWrite): don't use fmt(...)
9348
9349         * text3.C: add using std::endl
9350
9351         * BufferView.C (moveCursorUpdate): remove default arg
9352
9353 2002-08-20  André Pönitz <poenitz@gmx.net>
9354
9355         * buffer.[Ch]: move inline functions to .C
9356
9357         * BufferView2.C:
9358         * BufferView_pimpl.C:
9359         * text.C:
9360         * buffer.[Ch]: use improved inset_iterator
9361
9362         * buffer.C:
9363         * paragraph.[Ch]: write one paragraph at a time
9364
9365 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9366
9367         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9368         style if style is not specified.
9369
9370 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9371
9372         * text2.C (setCounter): when searching for right label for a
9373         caption, make sure to recurse to parent insets (so that a caption
9374         in a minipage in a figure float works) (bug #568)
9375
9376 2002-08-20  André Pönitz <poenitz@gmx.net>
9377
9378         * text3.C: new file for LyXText::dispatch() and helpers
9379
9380         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9381
9382         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9383
9384 2002-08-19  André Pönitz <poenitz@gmx.net>
9385
9386         * lyxtext.h:
9387         * text.C: new LyXText::dispatch()
9388
9389         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9390
9391 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9392
9393         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9394
9395         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9396         Hebrew text.
9397
9398 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9399
9400         * Makefile.am: use $(variables) instead of @substitutions@
9401
9402 2002-08-15  André Pönitz <poenitz@gmx.net>
9403
9404         * lyxfunc.C:
9405         * BufferView_pimpl.C: streamlining mathed <-> outer world
9406         interaction
9407
9408         * commandtags.h:
9409         * LyXAction.C: remove unused LFUN_MATH
9410
9411 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9412
9413         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9414
9415 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9416
9417         * paragraph.C (Paragraph): reformat a bit
9418         (cutIntoMinibuffer): use builtin InsetList function instad of
9419         doing it manually.
9420         (getInset): ditto
9421
9422         * buffer.C: include boost/bind.hpp, add using std::for_each
9423         (writeFileAscii): use ParagraphList iterators
9424         (validate): use for_each for validate traversal of paragraphs
9425         (getBibkeyList): use ParagraphList iterators
9426         (resizeInsets): use for_each to resizeInsetsLyXText for all
9427         paragraphs.
9428         (getParFromID): use ParagraphList iterators
9429
9430         * BufferView2.C (lockInset): use paragraph list and iterators
9431
9432 2002-08-14  John Levon  <levon@movementarian.org>
9433
9434         * lyxserver.C: remove spurious xforms include
9435
9436 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9437
9438         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9439
9440 2002-08-13  André Pönitz <poenitz@gmx.net>
9441
9442         * LyXAction.[Ch]:
9443         * lyxfunc.C: further cleaning
9444
9445 2002-08-13  André Pönitz <poenitz@gmx.net>
9446
9447         * funcrequest.h: new constructor
9448
9449         * funcrequest.C: move stuff here from .h
9450
9451         * Makefile.am:
9452         * BufferView_pimpl.C:
9453         * LyXAction.C:
9454         * toc.C:
9455         * lyxfunc.C: subsequent changes
9456
9457         * lyxfunc.h: new view() member function
9458
9459         * lyxfunc.C: subsequent changes
9460
9461 2002-08-13  Angus Leeming  <leeming@lyx.org>
9462
9463         * BufferView2.C:
9464         * BufferView_pimpl.C:
9465         * buffer.C:
9466         * converter.C:
9467         * importer.C:
9468         * lyxfunc.C:
9469         * lyxvc.C:
9470         * toc.C:
9471         * vc-backend.C:
9472         changes due to the changed LyXView interface that now returns references
9473         to member variables not pointers.
9474
9475 2002-08-13  Angus Leeming  <leeming@lyx.org>
9476
9477         * WordLangTuple (word, lang_code): return references to strings,
9478         not strings.
9479
9480         * BufferView.h:
9481         * SpellBase.h:
9482         * lyxtext.h: forward-declare WordLangTuple.
9483
9484         * BufferView2.C:
9485         * ispell.C:
9486         * pspell.C:
9487         * text.C: #include "WordLangTuple.h".
9488
9489         * lyxtext.h:
9490         * text.C: (selectNextWordToSpellcheck): constify return type.
9491
9492 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9493
9494         * buffer.C:
9495         * buffer.h:
9496         * lyxtext.h:
9497         * paragraph.C:
9498         * paragraph_pimpl.h:
9499         * text.C:
9500         * text2.C:
9501         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9502         suggested by Angus.
9503         Made updateCounter always count from start of buffer, and removed
9504         second argument (par).
9505         Reverted floats number display to '#'. Perhaps I'll try again when the
9506         code base is sanitized a bit.
9507
9508 2002-08-12  Angus Leeming  <leeming@lyx.org>
9509
9510         * buffer.[Ch] (getLabelList): constify.
9511
9512 2002-08-07  André Pönitz <poenitz@gmx.net>
9513
9514         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9515
9516         * funcrequest.h: extension to keep mouse (x,y) position
9517
9518 2002-08-12  Juergen Vigna  <jug@sad.it>
9519
9520         * BufferView2.C (insertErrors): forbid undo when inserting error
9521         insets.
9522
9523         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9524
9525 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9526
9527         * ParagraphList.[Ch]: new files
9528
9529         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9530
9531         * BufferView2.C (lockInset): ParagraphList changes
9532         * toc.C: ditto
9533         * text2.C: ditto
9534         * bufferlist.C: ditto
9535         * buffer.h: ditto
9536         * buffer.C: ditto
9537
9538 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9539
9540         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9541         unused class variable counter_,
9542
9543         * paragraph.[Ch] (getFirstCounter): delete unused function
9544
9545         * counters.C: include LAssert.h
9546         (reset): add a new function with no arg, change other version to
9547         not have def. arg and to not allow empty arg.
9548
9549         * text2.C (setCounter): remove empty arg from call to Counters::reset
9550
9551 2002-08-11  John Levon  <levon@movementarian.org>
9552
9553         * Makefile.am: add WordLangTuple.h
9554
9555 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9556
9557         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9558         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9559
9560         * insets/insettext.C: InsetList changes
9561
9562         * graphics/GraphicsSupport.C (operator()): InsetList changes
9563
9564         * toc.C (getTocList): InsetList changes
9565
9566         * paragraph_pimpl.[Ch]: InsetList changes
9567
9568         * paragraph.[Ch]: InsetList changes
9569
9570         * buffer.C (inset_iterator): InsetList changes
9571         (setParagraph): ditto
9572         * buffer.h (inset_iterator): ditto
9573         * iterators.C (operator++): ditto
9574         * iterators.h: ditto
9575
9576         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9577
9578         * InsetList.[Ch]: new files, most InsetList handling moved out of
9579         paragraph.C.
9580
9581         * BufferView2.C (removeAutoInsets): InsetList changes
9582         (lockInset): ditto
9583         (ChangeInsets): ditto
9584
9585 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9586
9587         * paragraph_pimpl.h (empty): new function
9588
9589         * paragraph.[Ch] (empty): new function
9590
9591         * other files: use the new Paragraph::empty function
9592
9593 2002-08-09  John Levon  <levon@movementarian.org>
9594
9595         * lyxtext.h: remove unused refresh_height
9596
9597 2002-08-09  John Levon  <levon@movementarian.org>
9598
9599         * Makefile.am:
9600         * sgml.h:
9601         * sgml.C:
9602         * buffer.C:
9603         * paragraph.h:
9604         * paragraph.C: move sgml char escaping out of paragraph
9605
9606         * paragraph.h:
9607         * paragraph.C: remove id setter
9608
9609         * buffer.C:
9610         * paragraph.C:
9611         * paragraph_pimpl.C: remove dead tex_code_break_column
9612
9613         * bufferview_funcs.C: small cleanup
9614
9615         * lyxfunc.C: remove dead proto
9616
9617         * lyxtext.h: make some stuff private. Remove some dead stuff.
9618
9619         * lyxgluelength.C: make as[LyX]String() readable
9620
9621 2002-08-08  John Levon  <levon@movementarian.org>
9622
9623         * LyXAction.h:
9624         * LyXAction.C:
9625         * MenuBackend.C:
9626         * ToolbarDefaults.C:
9627         * lyxfunc.C:
9628         * lyxrc.C:
9629         * toc.C: lyxaction cleanup
9630
9631 2002-08-08  John Levon  <levon@movementarian.org>
9632
9633         * BufferView2.C: small cleanup
9634
9635         * lyxfind.h:
9636         * lyxfind.C: move unnecessary header into the .C
9637
9638 2002-08-08  John Levon  <levon@movementarian.org>
9639
9640         * funcrequest.h: just tedious nonsense
9641
9642         * lyx_main.h:
9643         * lyx_main.C: cleanups
9644
9645         * buffer.C:
9646         * vspace.C: remove dead header lyx_main.h
9647
9648 2002-08-07  Angus Leeming  <leeming@lyx.org>
9649
9650         * Paragraph.[Ch]:
9651         * paragraph_pimpl.h:
9652         Forward declare class Counters in paragraph.h by moving the ctrs member
9653         variable into Paragraph::Pimpl.
9654         (counters): new method, returning a reference to pimpl_->ctrs.
9655
9656         * text2.C: ensuing changes.
9657
9658 2002-08-07  John Levon  <levon@movementarian.org>
9659
9660         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9661
9662         * BufferView_pimpl.C: announce X selection on double/triple
9663           click
9664
9665         * lyx_main.C: use correct bool in batch dispatch
9666
9667         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9668
9669 2002-08-07  André Pönitz <poenitz@gmx.net>
9670
9671         * funcrequest.h: new class to wrap a kb_action and its argument
9672
9673         * BufferView.[Ch]:
9674         * BufferView_pimpl[Ch]:
9675         * LaTeX.C:
9676         * LyXAction.[Ch]:
9677         * lyxfunc.[Ch]:
9678         * lyxrc.C: subsequent changes
9679
9680
9681 2002-08-07  John Levon  <levon@movementarian.org>
9682
9683         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9684           document options change.
9685
9686 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9687
9688         * counters.[Ch]
9689         * text2.C
9690         * paragraph.[Ch]
9691         * makefile.am: move counters functionality over from
9692         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9693
9694 2002-08-06  John Levon  <levon@movementarian.org>
9695
9696         * WordLangTuple.h: new file for word + language code tuple
9697
9698         * SpellBase.h:
9699         * pspell.h:
9700         * pspell.C:
9701         * ispell.h:
9702         * ispell.C:
9703         * lyxtext.h:
9704         * text.C:
9705         * text2.C:
9706         * BufferView.h:
9707         * BufferView2.C: use WordLangTuple
9708
9709         * layout.h:
9710         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9711
9712 2002-08-06  John Levon  <levon@movementarian.org>
9713
9714         * lyx_main.C: fix cmdline batch handling
9715
9716 2002-08-06  André Pönitz <poenitz@gmx.net>
9717
9718         * lyxrc.C: set default for show_banner to true
9719
9720 2002-08-06  John Levon  <levon@movementarian.org>
9721
9722         * pspell.C: fix a crash, and allow new aspell to work
9723
9724 2002-08-06  John Levon  <levon@movementarian.org>
9725
9726         * lyxfunc.C:
9727         * kbmap.C: small cleanup
9728
9729         * vspace.h:
9730         * vspace.C: add const
9731
9732 2002-08-05  John Levon  <levon@movementarian.org>
9733
9734         * LyXAction.C: back to tabular-insert
9735
9736 2002-08-04  John Levon  <levon@movementarian.org>
9737
9738         * BufferView.h:
9739         * BufferView.C: cosmetic change
9740
9741         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9742
9743         * bufferlist.C:
9744         * buffer.h:
9745         * buffer.C:
9746         * lyxcb.h:
9747         * lyxcb.C:
9748         * lyxserver.C:
9749         * lyxvc.C:
9750         * vc-backend.C:
9751         * BufferView2.C: purge all "Lyx" not "LyX" strings
9752
9753         * lyxcursor.h:
9754         * lyxcursor.C: attempt to add some documentation
9755
9756         * lyxfunc.C:
9757         * commandtags.h:
9758         * LyXAction.C:
9759         * ToolbarDefaults.C:
9760         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9761           merge with LFUN_TABULAR_INSERT
9762
9763         * Makefile.am:
9764         * SpellBase.h:
9765         * ispell.h:
9766         * ispell.C:
9767         * pspell.h:
9768         * pspell.C: split up i/pspell implementations into separate
9769           files, many cleanups
9770
9771         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9772
9773         * text2.C: some cleanup
9774
9775         * lyxfunc.C: don't check for isp_command == "none" any more, it
9776           didn't make any sense
9777
9778 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9779
9780         * counters.[Ch]
9781         * text2.C
9782         * paragraph.[Ch]
9783         * makefile.am: move counters functionality over
9784         from text2.C/paragraph.[Ch] to counters.[Ch], and
9785         make proper C++.
9786 2002-08-02  John Levon  <levon@movementarian.org>
9787
9788         * buffer.C: s/lyxconvert/lyx2lyx/
9789
9790 2002-08-02  Angus Leeming  <leeming@lyx.org>
9791
9792         * lyxlex.C: revert John's change as it breaks reading of the user
9793         preamble.
9794
9795 2002-08-02  Angus Leeming  <leeming@lyx.org>
9796
9797         * importer.C (Import):
9798         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9799         changes due to LyXView::view() now returning a boost::shared_ptr.
9800
9801 2002-08-02  John Levon  <levon@movementarian.org>
9802
9803         * lyxlex.C: small cleanup
9804
9805 2002-08-02  John Levon  <levon@movementarian.org>
9806
9807         * text2.C (status): small cleanup, no logic change
9808
9809 2002-08-01  John Levon  <levon@movementarian.org>
9810
9811         * buffer.h:
9812         * buffer.C (writeFile): don't output alerts, caller
9813           handles this
9814
9815         * bufferlist.C:
9816         * lyx_cb.C: from above
9817
9818         * lyxfunc.C: allow to open non-existent files
9819
9820 2002-07-31  John Levon  <levon@movementarian.org>
9821
9822         * lyxserver.C: don't let incidental errors get
9823           in the way (errno)
9824
9825 2002-07-30  John Levon  <levon@movementarian.org>
9826
9827         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9828
9829 2002-07-30  John Levon  <levon@movementarian.org>
9830
9831         * lyxserver.h:
9832         * lyxserver.C: remove I/O callback too
9833
9834 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9835
9836         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9837         log.
9838
9839 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9840
9841         * many files: strip,frontStrip -> trim,ltrim,rtrim
9842
9843 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9844
9845         * PrinterParams.h: remove extern containsOnly, and include
9846         support/lstrings.h instead.
9847
9848         * LaTeX.C (scanAuxFile): modify because of strip changes
9849         (deplog): ditto
9850         * buffer.C (makeLaTeXFile): ditto
9851         * bufferparams.C (writeFile): ditt
9852         * lyxfont.C (stateText): ditto
9853         * lyxserver.C (read_ready): ditto
9854         * vc-backend.C (scanMaster): ditto
9855
9856         * BufferView_pimpl.h: ws changes
9857
9858         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9859
9860 2002-07-26  André Pönitz <poenitz@gmx.net>
9861
9862         * kb_sequence.C: remove unnedred usings
9863
9864 2002-07-26  Juergen Vigna  <jug@sad.it>
9865
9866         * lyxfind.C (LyXReplace): we have to check better if the returned
9867         text is not of theLockingInset()->getLockingInset().
9868
9869 2002-07-25  Juergen Vigna  <jug@sad.it>
9870
9871         * lyxfind.C (LyXReplace): don't replace if we don't get the
9872         right LyXText.
9873
9874         * undo_funcs.C (createUndo): remove debugging code.
9875
9876 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9877
9878         * buffer.C (parseSingleLyXformat2Token): Use default placement
9879         when reading old floats.
9880
9881         * FloatList.C (FloatList): Change the default placement of figure
9882         and tables to "tbp".
9883
9884 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9885
9886         * MenuBackend.C: using std::max
9887
9888 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9889
9890         * MenuBackend.C (expandToc):
9891         (expandToc2): code moved from xforms menu frontend. It is now
9892         generic and TOCs are transparent to menu frontends.
9893
9894 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9895
9896         * toc.C (getTocList): protect against buf=0
9897
9898         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9899         Menu as first parameter. Now, this calls itself recursively to
9900         expand a whole tree (this will be useful for TOC handling)
9901         (expandFloatInsert): remove 'wide' version of floats
9902
9903         * MenuBackend.h (submenuname): returns the name of the submenu.
9904         (submenu): returns the submenu itself, provided it has been
9905         created by MenuBackend::expand
9906
9907 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9908
9909         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9910         insets which have noFontChange == true. (bug #172)
9911
9912 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9913
9914         * BufferView_pimpl.C: add connection objects and use them...
9915         (Pimpl): here.
9916
9917 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9918
9919         * MenuBackend.C (expandLastfiles):
9920         (expandDocuments):
9921         (expandFormats):
9922         (expandFloatListInsert):
9923         (expandFloatInsert):
9924         (expand): split expand in parts
9925
9926 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * lyx_gui.C: use lyx_gui::exit()
9929
9930 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * LyXAction.C: show the failing pseudo action
9933
9934 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9935
9936         * buffer.C (readFile): Run the lyxconvert script in order to read
9937         old files.
9938
9939 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9940
9941         * LyXAction.C:
9942         * commandtags.h:
9943         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9944
9945 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * LyXAction.C:
9948         * commandtags.h:
9949         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9950
9951 2002-07-22  Herbert Voss  <voss@lyx.org>
9952
9953         * lengthcommon.C:
9954         * lyxlength.[Ch]: add support for the vertical lengths
9955
9956 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * toc.[Ch]: std:: fixes
9959
9960 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9961
9962         * lyxrc.C: do not include lyx_main.h
9963
9964         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9965         for layouts
9966
9967         * lyxrc.C:
9968         * encoding.C:
9969         * bufferlist.C:
9970         * BufferView2.C: include "lyxlex.h"
9971
9972         * tabular.h:
9973         * bufferparams.h: do not #include "lyxlex.h"
9974
9975         * lyxtextclasslist.C (Add): remove method
9976         (classlist): renamed to classlist_
9977
9978         * paragraph_pimpl.C:
9979         * paragraph.C:
9980         * text2.C:
9981         * CutAndPaste.C:
9982         * bufferview_funcs.C:
9983         * bufferlist.C:
9984         * text.C:
9985         * LaTeXFeatures.C:
9986         * buffer.C:
9987         * toc.C (getTocList): use BufferParams::getLyXTextClass
9988
9989         * toc.C (getTocList): use InsetFloat::addToToc
9990
9991         * toc.[Ch]: new files, containing helper functions to handle table
9992         of contents
9993
9994         * lyxfunc.C (dispatch): no need to remove spaces around command
9995         given as a string
9996         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9997         first command of the sequence; it is not very clever, but I do not
9998         have a better idea, actually
9999
10000         * LyXAction.C (LookupFunc): make sure to remove space at the
10001         beginning and end of the command
10002
10003 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10004
10005         * MenuBackend.C (getMenubar): new method: return the menubar of
10006         this menu set
10007         (read): treat differently reading of menu and menubar (in
10008         particular, the menubar has no name now)
10009         (Menu::menubar): remove
10010
10011         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10012         saving is finished
10013
10014 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10015
10016         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10017         a bibitem inset in a RTL paragraph.
10018
10019 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * paragraph_pimpl.C: constify
10022
10023         * BufferView_pimpl.C:
10024         * LaTeX.C:
10025         * lyxfunc.C: fix dispatch in a nicer way
10026
10027 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10028
10029         * lyxfunc.C (dispatch):
10030         * BufferView_pimpl.C:
10031         * BufferView_pimpl.h:
10032         * BufferView.C:
10033         * BufferView.h: rename Dispatch() to dispatch()
10034
10035         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10036
10037         * lyxlayout.C (Read): honor DependsOn tag
10038
10039         * lyxlayout.[Ch] (depends_on): new method
10040
10041         * version.C.in: update lyx_docversion
10042
10043         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10044
10045         * paragraph.C (validate): remove from here...
10046         * paragraph_pimpl.C (validate): ... and move here
10047         (isTextAt): make it const
10048
10049         * buffer.C (getLists): ws cleanup
10050
10051 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10052
10053         * language.C (read): Use iso8859-1 encoding in latex_lang
10054         (this prevents LyX from crashing when using iso10646-1 encoding).
10055
10056 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10057
10058         * text2.C (toggleInset): if cursor is inside an inset, close the
10059         inset and leave cursor _after_ it
10060
10061 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10062
10063         * lyxfunc.C: move minibuffer completion handling out of here
10064
10065 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10066
10067         * BufferView_pimpl.C:
10068         * LaTeX.C: fix dispatch calls
10069
10070 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10071
10072         * text.C (drawChars): Fix Arabic text rendering.
10073
10074 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10075
10076         * LyXAction.C:
10077         * commandtags.h:
10078         * lyxfunc.C: remove message-push/pop
10079
10080         * lyxserver.C:
10081         * lyxfunc.h:
10082         * lyxfunc.C: rationalise some code by removing verboseDispatch
10083           in favour of a bool argument to dispatch()
10084
10085 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10086
10087         * lyx_main.C (init): make sure to read symlinks as absolute paths
10088
10089 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10090
10091         * lyxfunc.h:
10092         * lyxfunc.C: no need for commandshortcut to be a member
10093
10094 2002-07-15  André Pönitz <poenitz@gmx.net>
10095
10096         * converter.C: add support for $$s (scripts from lib/scripts dir)
10097         * lyx_main.C: white space
10098
10099 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10100
10101         * bufferlist.C:
10102         * lyxrc.h:
10103         * lyxrc.C: remove second exit confirmation
10104
10105 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10106
10107         * BufferView.h:
10108         * BufferView.C:
10109         * BufferView2.C:
10110         * BufferView_pimpl.h:
10111         * BufferView_pimpl.C:
10112         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10113
10114 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10115
10116         * MenuBackend.C (expand): add numeric shortcuts to document menu
10117
10118         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10119
10120 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10121
10122         * lyxfont.C (setLyXFamily):
10123         (setLyXSeries):
10124         (setLyXShape):
10125         (setLyXSize):
10126         (setLyXMisc):
10127         (lyxRead):
10128         * debug.C (value):
10129         * buffer.C (asciiParagraph): use ascii_lowercase
10130
10131 2002-07-15  Mike Fabian  <mfabian@suse.de>
10132
10133         * lyxlex_pimpl.C (search_kw):
10134         * lyxlex.C (getLongString):
10135         * converter.h (operator<):
10136         * converter.C (operator<):
10137         * buffer.C (parseSingleLyXformat2Token):
10138         (asciiParagraph):
10139         * ToolbarDefaults.C (read):
10140         * MenuBackend.C (checkShortcuts):
10141         (read):
10142         * LColor.C (getFromGUIName):
10143         (getFromLyXName): use the compare_ascii_no_case instead of
10144         compare_no_case, because in turkish, 'i' is not the lowercase
10145         version of 'I', and thus turkish locale breaks parsing of tags.
10146
10147 2002-07-16  Angus Leeming  <leeming@lyx.org>
10148
10149         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10150         now takes a Buffer const & argument.
10151
10152 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10153
10154         * BufferView.C (resize): check there's a buffer to resize
10155
10156 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10157
10158         * lyxfunc.C: remove dead code
10159
10160         * lyxserver.h:
10161         * lyxserver.C: use lyx_guii::set_read_callback
10162
10163 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10164
10165         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10166         an inset in a RTL paragraph.
10167
10168 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10169
10170         * lyxfunc.C: repaint after a font size update
10171
10172 2002-07-15  André Pönitz <poenitz@gmx.net>
10173
10174         * lyxlength.C: inBP should be able to return negative values
10175
10176 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10177
10178         * lyxfunc.C: use lyx_gui::update_fonts()
10179
10180 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10181
10182         * lyxfunc.C: use lyx_gui::update_color()
10183
10184 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10185
10186         * bufferlist.C:
10187         * lyxfunc.h:
10188         * lyxfunc.C:
10189         * lyxrc.h:
10190         * lyxrc.C: remove file->new asks for name option, and let
10191           buffer-new take an argument
10192
10193 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * BufferView_pimpl.C: remove unneeded extra repaint()
10196
10197 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10198
10199         * LyXAction.C: allow command-sequence with NoBuffer
10200
10201         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10202
10203 2002-07-10  Angus Leeming  <leeming@lyx.org>
10204
10205         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10206
10207 2002-07-09  Angus Leeming  <leeming@lyx.org>
10208
10209         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10210
10211 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10212
10213         * lengthcommon.h: whitespace
10214
10215         * lyxfunc.C: update scrollbar after goto paragraph
10216
10217         * lyxtext.h: factor out page break drawing, and fix it so
10218           page break/added space paints as selected nicely
10219
10220 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10221
10222         * BufferView_pimpl.C: add FIXMEs, clean up a little
10223
10224 2002-07-09  André Pönitz <poenitz@gmx.net>
10225
10226         * lyxfont.[Ch]: support for wasy symbols
10227
10228 2002-07-08  André Pönitz <poenitz@gmx.net>
10229
10230         * BufferView_pimpl.C: apply John's patch for #93.
10231
10232 2002-07-05  Angus Leeming  <leeming@lyx.org>
10233
10234         * BufferView_pimpl.C (buffer): generate previews if desired.
10235
10236         * LColor.h: add "preview" to the color enum.
10237
10238         * LColor.C (LColor): add a corresponding entry to the items array.
10239
10240         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10241         with this buffer.
10242
10243 2002-07-05  Angus Leeming  <leeming@lyx.org>
10244
10245         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10246         The body of the code is now in the method that is passed an ostream &
10247         rather than a file name.
10248         Pass an additional only_preamble parameter, useful for the forthcoming
10249         preview stuff.
10250
10251 2002-07-03  André Pönitz <poenitz@gmx.net>
10252
10253         * lyxfunc.C: simplify getStatus() a bit for math stuff
10254
10255 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10256
10257         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10258
10259 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10260
10261         * text.C (changeRegionCase): do not change case of all the
10262         document when region ends at paragraph end (bug #461)
10263
10264 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10265
10266         * paragraph.C (startTeXParParams):
10267         (endTeXParParams): add \protect when necessary
10268
10269 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10270
10271         * BufferView_pimpl.C (workAreaExpose): remove warning
10272
10273 2002-06-27  Angus Leeming  <leeming@lyx.org>
10274
10275         * Makefile.am: add lyxlayout_ptr_fwd.h.
10276
10277 2002-06-26  André Pönitz <poenitz@gmx.net>
10278
10279         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10280
10281 2002-06-25  Angus Leeming  <leeming@lyx.org>
10282
10283         * lyxfunc.C (dispatch): Comment out the call to
10284         grfx::GCache::changeDisplay. The method no longer exists now that the
10285         pixmap generation part of the graphics loader has been moved into
10286         InsetGraphics.
10287
10288 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10289
10290         * text2.C: layout as layout
10291
10292         * text.C: layout as layout
10293
10294         * tabular.C (OldFormatRead): layout as layout
10295
10296         * paragraph_pimpl.C (TeXDeeper): layout as layout
10297         (realizeFont): layout as layout
10298
10299         * paragraph.C (writeFile): layout as layout
10300         (validate): layout as layout
10301         (getFont): layout as layout
10302         (getLabelFont): layout as layout
10303         (getLayoutFont): layout as layout
10304         (breakParagraph): layout as layout
10305         (stripLeadingSpaces): layout as layout
10306         (getEndLabel): layout as layout
10307         (getMaxDepthAfter): layout as layout
10308         (applyLayout): layout as layout
10309         (TeXOnePar): layout as layout
10310         (simpleTeXOnePar): layout as layout
10311         (TeXEnvironment): layout as layout
10312         (layout): layout as layout
10313         (layout): layout as layout
10314
10315         * lyxtextclass.C (compare_name): new functor to work with
10316         shared_ptr, layout as layout
10317         (Read): layout as layout
10318         (hasLayout): layout as layout
10319         (operator): layout as layout
10320         (delete_layout): layout as layout
10321         (defaultLayout): layout as layout
10322
10323         * lyxlayout_ptr_fwd.h: new file
10324
10325         * lyxlayout.C (Read): layout as layout
10326
10327         * lyx_cb.C (MenuInsertLabel): layout as layout
10328
10329         * bufferlist.C (newFile): layout as layout
10330
10331         * buffer.C (readLyXformat2): layout as layout
10332         (parseSingleLyXformat2Token): layout as layout
10333         (insertStringAsLines): layout as layout
10334         (asciiParagraph): layout as layout
10335         (latexParagraphs): layout as layout
10336         (makeLinuxDocFile): layout as layout
10337         (simpleLinuxDocOnePar): layout as layout
10338         (makeDocBookFile): layout as layout
10339         (simpleDocBookOnePar): layout as layout
10340         (getLists): layout as layout
10341
10342         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10343
10344         * CutAndPaste.C (cutSelection): layout as layout
10345         (pasteSelection): layout as layout
10346         (SwitchLayoutsBetweenClasses): layout as layout
10347
10348         * BufferView_pimpl.C (Dispatch): layout as layout
10349         (smartQuote): layout as layout
10350
10351         * BufferView2.C (unlockInset): layout as layout
10352
10353 2002-06-24  André Pönitz <poenitz@gmx.net>
10354
10355         * lyxfunc.C: fix #487
10356
10357 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * lyxrc.h:
10360         * lyxrc.C:
10361         * lyxfunc.C: remove display_shortcuts, show_banner
10362
10363 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * Buffer_pimpl.C: oops, update on resize
10366
10367 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * buffer.C:
10370         * converter.C:
10371         * exporter.C:
10372         * lyxfunc.C:
10373         * BufferView.h:
10374         * BufferView.C: use repaint()
10375
10376         * BufferView_pimpl.h:
10377         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10378           as it's a clearer description. Remove superfluous
10379           redraws.
10380
10381 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10382
10383         * text.C: fix bug 488. Not ideal, but getting
10384           getWord() to work properly for the insets that
10385           matter is more difficult ...
10386
10387 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10388
10389         * BufferView_pimpl.C:
10390         * LyXAction.C:
10391         * commandtags.h:
10392         * lyxfunc.C: remove the six million index lyxfuncs to just
10393           one, and DTRT (bug 458)
10394
10395 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10396
10397         * BufferView.h:
10398         * BufferView.C:
10399         * BufferView_pimpl.h:
10400         * BufferView_pimpl.C: clean up resize() stuff,
10401           and unnecessary updateScreen()s
10402
10403 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * BufferView.h:
10406         * BufferView.C:
10407         * BufferView_pimpl.h:
10408         * BufferView_pimpl.C:
10409         * lyxfind.h:
10410         * lyxfind.C:
10411         * minibuffer.C: remove focus management of workarea,
10412           not needed. Use screen's greyOut()
10413
10414 2002-06-17  Herbert Voss  <voss@lyx.org>
10415
10416         * converter.C: (convert) do not post a message, when converting
10417         fails, let the calling function decide what to do in this case
10418
10419 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10420
10421         * lyxfunc.C: tidy up a little
10422
10423 2002-06-16    <alstrup@diku.dk>
10424
10425         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10426         Got rid of FORMS_H_LOCATION include. Now we are
10427         GUII.
10428
10429 2002-06-15  LyX Development team  <lyx@rilke>
10430
10431         * buffer.[Ch] (sgmlOpenTag):
10432         (sgmlCloseTag): Added support for avoiding pernicious mixed
10433         content. Return number of lines written.
10434
10435         (makeLinuxDocFile):
10436         (makeDocBookFile): Fixed calls to sgml*Tag.
10437         Simple white space clean.
10438
10439         (simpleDocBookOnePar): Simple white space clean.
10440
10441         * tabular.[Ch] (docBook): Renamed to docbook and got another
10442         argument to related with the pernicious mixed content.
10443
10444         (docbookRow): Fixed calls for docbook inset method.
10445
10446 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10447
10448         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10449         so it's X11 independent.
10450
10451         * kb*.[Ch]: ditto.
10452
10453         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10454
10455 2002-06-15  Lyx Development team  <lyx@electronia>
10456
10457         * intl.h: Renamed getTrans to getTransManager.
10458
10459 2002-06-14  Angus Leeming  <leeming@lyx.org>
10460
10461         * Makefile.am: nuke forgotten stl_string_fwd.h.
10462
10463 2002-06-12  Angus Leeming  <leeming@lyx.org>
10464
10465         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10466
10467 2002-06-13  Angus Leeming  <leeming@lyx.org>
10468
10469         * LaTeX.C:
10470         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10471
10472 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10473
10474         * kbmap.C (getiso): add support for cyrillic and greek
10475
10476 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10477
10478         * BufferView.h:
10479         * BufferView.C:
10480         * BufferView_pimpl.h:
10481         * BufferView_pimpl.C: move bogus scrolling logic
10482           to xforms
10483
10484 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * lyxfunc.C:
10487         * BufferView_pimpl.C: view->resize() change
10488
10489 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10490
10491         * BufferView_pimpl.C: topCursorVisible
10492           prototype change
10493
10494 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * Makefile.am:
10497         * lyx_gui.h:
10498         * lyx_gui.C: move to frontends/
10499
10500         * main.C:
10501         * lyx_main.h:
10502         * lyx_main.C: changes from above
10503
10504 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10505
10506         * intl.C:
10507         * intl.h:
10508         * kbmap.C:
10509         * kbsequence.C:
10510         * lyx_cb.C:
10511         * lyx_main.C: minor tidy
10512
10513 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10514
10515         * BufferView_pimpl.h:
10516         * BufferView_pimpl.C:
10517         * BufferView.h:
10518         * BufferView.C: make painter() const,
10519           remove dead code
10520
10521         * BufferView2.C: use screen() accessor
10522
10523         * lyx_main.h:
10524         * lyx_main.C: some minor cleanup
10525
10526 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * BufferView_pimpl.h:
10529         * BufferView_pimpl.C: remove enter/leaveView,
10530           use workHeight()
10531
10532 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10533
10534         * BufferView.h:
10535         * BufferView.C:
10536         * BufferView2.C:
10537         * BufferView_pimpl.h:
10538         * BufferView_pimpl.C: only construct screen once,
10539           rename
10540
10541         * lyxrc.C: remove pointless comment
10542
10543 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10544
10545         * BufferView.h:
10546         * BufferView.C: remove active() and belowMouse()
10547
10548         * BufferView_pimpl.h:
10549         * BufferView_pimpl.C: use workarea() not workarea_,
10550           and make it use a scoped_ptr instead
10551
10552 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * lyx_gui.C: add debug message on BadWindow
10555
10556 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10557
10558         * sp_spell.C: fdopen is not part of the C++ standard.
10559
10560         * paragraph.C (InsetIterator): use >= instead of ==
10561
10562 2002-06-07  Angus Leeming  <leeming@lyx.org>
10563
10564         Fixes needed to compile with Compaq cxx 6.5.
10565         * BufferView_pimpl.C:
10566         * DepTable.C:
10567         * buffer.C:
10568         * converter.C:
10569         * encoding.C:
10570         * lyx_gui.C:
10571         * lyx_main.C:
10572         * lyxtextclasslist.C:
10573         * minibuffer.C:
10574         * sp_spell.C:
10575         * tabular_funcs.C:
10576         * vc-backend.C:
10577         all c-library variables have been moved into namespace std. Wrap
10578         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10579
10580         * lyxlength.C:
10581         * tabular-old.C:
10582         * tabular.C:
10583         Add a using std::abs declaration.
10584
10585         * kbmap.h (modifier_pair):
10586         * paragraph.h (InsetTable, InsetList):
10587         * lyxfont.h (FontBits):
10588         type definition made public.
10589
10590         * bufferlist.C (emergencyWriteAll): the compiler complains that
10591         there is more than one possible lyx::class_fun template to choose from.
10592         I re-named the void specialisation as lyx::void_class_fun.
10593
10594         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10595
10596         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10597         the compiler is is unable to find tostr in write_attribute.
10598
10599 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10600
10601         * buffer.C (sgmlError): hide #warning
10602
10603 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10604
10605         * xtl/*: get rid of xtl, which is not in use anyway
10606
10607         * LyXAction.C (init):
10608         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10609         were unimplemented xtl experimentation
10610
10611 2002-06-04  André Pönitz <poenitz@gmx.net>
10612
10613         * lyxfunc.C: disable array operation on simple formulae
10614
10615 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10616
10617         * converter.C: constify a bit
10618
10619 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10620
10621         * lyx_gui.C: check xforms version correctly
10622
10623 2002-04-30  Herbert Voss  <voss@lyx.org>
10624
10625         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10626         "keep" option
10627
10628 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10629
10630         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10631           attempt to register it with a VCS)
10632
10633 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10634
10635         * lyx_main.C (init): honor variables LYX_DIR_13x and
10636         LYX_USERDIR_13x
10637
10638 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10639
10640         * buffer.h:
10641         * buffer.C:
10642         * lyx_main.C: fix a crash on bad command line,
10643           and give a useful exit status on error
10644
10645         * lyxfunc.C (doImport): allow -i lyx to work
10646
10647 2002-03-30  André Pönitz <poenitz@gmx.net>
10648
10649         * lyxfunc.C: mathed font changes
10650
10651 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10652
10653         * LaTeX.C:
10654         * importer.h:
10655         * importer.C:
10656         * lyx_sty.h:
10657         * lyx_sty.C:
10658         * lyxlex.C:
10659         * lyxrow.h:
10660         * lyxtext.h:
10661         * paragraph.h:
10662         * paragraph.C:
10663         * texrow.h:
10664         * texrow.C:
10665         * text.C:
10666         * trans_mgr.h: srcdocs, and some minor cleanups
10667
10668 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10669
10670         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10671         call getFont all the time)
10672
10673 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10674
10675         * switch from SigC signals to boost::signals
10676
10677 2002-05-29  André Pönitz <poenitz@gmx.net>
10678
10679         * paragraph_pimpl.C (getChar): don't call size() too often...
10680
10681 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10682
10683         * paragraph_pimpl.C (insertChar): do not try to update tables when
10684         appending (pos == size())
10685
10686         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10687         in order to reduce drastically the number of comparisons needed to
10688         parse a large document
10689
10690 2002-05-29  André Pönitz <poenitz@gmx.net>
10691
10692         * text.C:
10693         * text2.C:
10694         * lyxtextclass.C:
10695         * sp_pspell.h:
10696         * textclasslist.[Ch]:
10697         * sp_ispell.h: whitespace change
10698
10699 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10700
10701         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10702         lyxaction directly now.
10703
10704 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * trans.C:
10707         * lyxfont.C:
10708         * lyxvc.C: remove unused headers
10709
10710 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10711
10712         * Makefile.am:
10713         * buffer.h:
10714         * undostack.h:
10715         * undostack.C:
10716         * undo_funcs.h:
10717         * undo_funcs.C: some cleanups. Use shared_ptr
10718           and a template for the undo stacks.
10719
10720 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10721
10722         * BufferView_pimpl.h:
10723         * BufferView_pimpl.C:
10724         * kbmap.h:
10725         * kbmap.C:
10726         * kbsequence.h:
10727         * kbsequence.C:
10728         * lyxfunc.h:
10729         * lyxfunc.C:
10730         * text2.C: use key_state/mouse_state
10731
10732 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10733
10734         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10735         and LSubstring
10736
10737         * chset.C: change include order
10738         (loadFile): use boost regex and get rid of LRegex and LSubstring
10739
10740         * Makefile.am (BOOST_LIBS): new variable
10741         (lyx_LDADD): use it
10742
10743         * LaTeX.C: change include order.
10744         (scanAuxFile): use boost regex and get rid of LRegex and
10745         LSubstring
10746         (deplog): ditto
10747
10748 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10749
10750         * ColorHandler.h:
10751         * ColorHandler.C:
10752         * FontInfo.h:
10753         * FontInfo.C: moved to frontends/xforms/
10754
10755         * FontLoader.h:
10756         * FontLoader.C: moved into frontends for GUIIzation
10757
10758         * Makefile.am:
10759         * lyx_gui.C:
10760         * lyxfont.C:
10761         * lyxfunc.C: changes from above
10762
10763 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10764
10765         * LColor.C: remove spurious X include
10766
10767         * BufferView_pimpl.C:
10768         * Makefile.am:
10769         * font.h:
10770         * font.C:
10771         * text.C:
10772         * text2.C: move font metrics to frontends/
10773
10774 2002-05-24  Juergen Vigna  <jug@sad.it>
10775
10776         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10777         setting the undo_cursor.
10778
10779         * ParagraphParameters.h: include local includes first.
10780
10781 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * BufferView_pimpl.C:
10784         * BufferView_pimpl.h:
10785         * Makefile.am:
10786         * WorkArea.h:
10787         * WorkArea.C:
10788         * screen.C: move WorkArea into frontends/
10789
10790         * lyxscreen.h:
10791         * screen.C:
10792         * text.C:
10793         * BufferView.C:
10794         * BufferView2.C: move LyXScreen into frontends/
10795
10796         * lyxlookup.h:
10797         * lyxlookup.C:
10798         * lyx_gui.C: move lyxlookup into frontends/xforms/
10799
10800 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10801
10802         * BufferView2.C:
10803         * BufferView_pimpl.C:
10804         * FontLoader.C:
10805         * LyXView.h:
10806         * LyXView.C:
10807         * Makefile.am:
10808         * WorkArea.C:
10809         * XFormsView.h:
10810         * XFormsView.C:
10811         * buffer.C:
10812         * bufferlist.C:
10813         * bufferview_funcs.C:
10814         * converter.C:
10815         * importer.C:
10816         * lyx_cb.C:
10817         * lyx_gui.C:
10818         * lyx_main.C:
10819         * lyx_find.C:
10820         * lyxfunc.C:
10821         * lyxvc.C:
10822         * minibuffer.C:
10823         * text.C:
10824         * text2.C:
10825         * trans.C:
10826         * vc-backend.C: move LyX/XFormsView into frontends/
10827
10828 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10829
10830         * Makefile.am:
10831         * PainterBase.C:
10832         * PainterBase.h:
10833         * Painter.C:
10834         * Painter.h:
10835         * WorkArea.C:
10836         * WorkArea.h:
10837         * screen.C:
10838         * tabular.C:
10839         * text.C:
10840         * text2.C: move Painter to frontends/
10841
10842 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * buffer.C: comment out some some code that depend upon lyx_format
10845         < 220
10846
10847         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10848         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10849
10850         * buffer.h (NO_COMPABILITY): turn off compability
10851
10852         * ColorHandler.C: include scoped_array.hpp
10853
10854         * font.C: Use more specific smart_ptr header.
10855         * Painter.C: ditto
10856         * gettext.C: ditto
10857         * ShareContainer.h: ditto
10858         * lyx_main.h: ditto
10859         * kbmap.h: ditto
10860         * FontInfo.h: ditto
10861         * BufferView_pimpl.h: ditto
10862         * ColorHandler.h: ditto
10863
10864         * kbmap.C (defkey): change call to shared_ptr::reset
10865
10866 2002-05-21  Juergen Vigna  <jug@sad.it>
10867
10868         * buffer.C (insertErtContents): fix to insert ert asis if it is
10869         non empty. Skip it completely if it contains only whitespaces.
10870
10871 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10872
10873         * BufferView_pimpl.C:
10874         * BufferView2.C: clear selection on paste (bug 393)
10875
10876 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10877
10878         * DepTable.C: include ctime
10879
10880 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10881
10882         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10883
10884 2002-05-14  Juergen Vigna  <jug@sad.it>
10885
10886         * text.C (breakParagraph): fixed function to honor the keepempty
10887         layout in the right maner and also to permit the right breaking
10888         algorithm on empty or non empyt keepempty paragraphs.
10889
10890         * paragraph.C (breakParagraph): we have to check also if the par
10891         is really empty (!size()) for isempty otherwise we do the wrong
10892         paragraph break.
10893
10894 2002-05-10  Juergen Vigna  <jug@sad.it>
10895
10896         * buffer.[Ch] : The following are only changes to the ert
10897         compatibility read reading old LaTeX layout and font stuff and
10898         convert it to ERTInsets.
10899
10900         * buffer.h: added isErtInset().
10901
10902         * buffer.C (struct ErtComp): add a fromlayout bool to check
10903         if we're inside a LaTeX layout.
10904         (isErtInset): new helper function.
10905         (insertErtContents): look for other ert insets before this one
10906         and insert the contents there, so that we don't have subsequent
10907         ERT insets with nothing between them. This way we create only one
10908         inset with multiple paragraphs. Also check if we don't insert only
10909         spaces ' ' as they are ignored anyway afterwards in the .tex file
10910         so if we have only spaces we will ignore this latex part in the
10911         new file.
10912         (parseSingleLyXformat2Token \\layout): better compatibility when
10913         reading layout-latex stuff.
10914         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10915         language tag.
10916         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10917         stuff after reading the inset only get the information back from
10918         the stack.
10919
10920 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10921
10922         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10923
10924         * LaTeXFeatures.C (getBabelOptions): New method.
10925
10926 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10927
10928         * BufferView_pimpl.C (Dispatch): work around missing argument for
10929         'layout'
10930
10931 2002-05-08  Juergen Vigna  <jug@sad.it>
10932
10933         * text.C (leftMargin): handle paragraph leftindent.
10934
10935         * paragraph.C (writeFile): write the new \\leftindent tag.
10936         (validate): handle leftindent code.
10937         (TeXEnvironment): handle paragraphleftindent code again.
10938
10939         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10940
10941         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10942         for paragrap_extra indent code and new token \\leftindent.
10943         (latexParagraphs): handle the leftindent as environment.
10944
10945         * ParameterStruct.h: added leftindent support.
10946
10947         * ParagraphParameters.C (leftIndent): added support functions for
10948         the paragraph left indent.
10949
10950         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10951         more appropriate.
10952
10953 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10954
10955         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10956         inside insetERT.
10957
10958         * text.C (computeBidiTables): No bidi in insetERT.
10959
10960         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10961         in RTL documents.
10962
10963 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10964
10965         * version.C.in: pre 5
10966
10967 2002-05-02  José Matos  <jamatos@fep.up.pt>
10968         * buffer.C (makeDocBookFile): white space changes, add newline to
10969         command styles.
10970         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10971
10972         * tabular.C (docBook): fix typo.
10973
10974 2002-05-03  Juergen Vigna  <jug@sad.it>
10975
10976         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10977         change in LyXText as we can not be sure it was not freed.
10978         (drawOneRow): remove unused code.
10979
10980         * text.C (drawInset): redo the calculation of the need_break_row as
10981         it could have a row which was already freed.
10982         (draw): look at the return value of drawInset and return false if
10983         it also returned false.
10984         (paintRowText): look at the return value of draw and return false if
10985         it also returned false.
10986
10987         * lyxtext.h: added bool return type to drawInset() and draw() so that
10988         if we have a change in the row so that the rowbreak has to be redone
10989         we abort drawing as it will be called again.
10990
10991 2002-05-02  Juergen Vigna  <jug@sad.it>
10992
10993         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10994         a change in the maintext also if we're inside an inset.
10995         (Dispatch): set the cursor again after a break line and after the
10996         screen has been updated as it could be we're in a different row.
10997
10998         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10999         to set the cursor behind the pargraph with > size().
11000         (setCursor): check also for the same paragraph when checking where
11001         to put the cursor if we have a NFR inset.
11002
11003         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11004         parts of layout read further up as it still was in the wrong
11005         position.
11006
11007 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11008
11009         * screen.C (drawFromTo): change sine fullRebreak always return
11010         true.
11011
11012         * buffer.C (parseSingleLyXformat2Token): reindent some
11013
11014         * BufferView_pimpl.C (update): change since fullRebreak always
11015         return true.
11016         (Dispatch): git rid of the last hardcoded "Standard"s.
11017
11018 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11019
11020         * text2.[Ch] (fullRebreak): make it return void now that we always
11021         returned true.
11022
11023 2002-04-30  Juergen Vigna  <jug@sad.it>
11024
11025         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11026         ert compatibility check for "latex" layout.
11027
11028 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11029
11030         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11031         minipages: use col% instead of p%, and also use the current font.
11032         (makeLaTeXFile): Fix use babel condition.
11033         (parseSingleLyXformat2Token): Correct font when reading old floats.
11034
11035 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11036
11037         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11038         inserting list of floats.
11039
11040 2002-04-25  Herbert Voss  <voss@lyx.org>
11041
11042         * MenuBackend.C (expand): don't add the graphics extensions to the
11043         export menu
11044
11045 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11046
11047         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11048         non-existing layout, do not complain if it was the default layout
11049         of the original class (bug #342)
11050
11051 2002-04-24  Juergen Vigna  <jug@sad.it>
11052
11053         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11054         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11055
11056 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11057
11058         * buffer.C (getBibkeyList): If using \bibliography, return the
11059         option field with the reference itself. Enables us to provide natbib
11060         support when using \bibliography.
11061
11062 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11063
11064         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11065
11066         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11067         natbib is provided by the LaTeX class.
11068
11069 2002-04-23  Juergen Vigna  <jug@sad.it>
11070
11071         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11072         Wakeup functions.
11073
11074         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11075
11076 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11077
11078         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11079
11080         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11081         ensuremath around textordmasculine, textordfeminine and
11082         textdegree.
11083
11084 2002-04-19  Juergen Vigna  <jug@sad.it>
11085
11086         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11087         reinitializing the buffer otherwise row-dimensions may be wrong.
11088         (update): reset also the selection cursors if they do exits otherwise
11089         their x/y positions may be wrong.
11090
11091         * text2.C (cursorDown): don't enter the inset if we came from a row
11092         above and are one row over the inset.
11093
11094         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11095         really leaving an inset.
11096
11097 2002-04-18  Juergen Vigna  <jug@sad.it>
11098
11099         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11100         of the selected paragraph does not have the selected layout also if
11101         the last one had!
11102
11103         * text2.C (setLayout): fixed bug which did not change last selected
11104         paragraph.
11105
11106         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11107         changed the read and substituted \\end_float with \\end_inset!
11108
11109         * BufferView_pimpl.C (cursorPrevious):
11110         (cursorNext): fixed to make it work with rows heigher than the work
11111         area without moving the cursor only the draw of the row.
11112         (workAreaMotionNotify): fix jumping over high rows.
11113
11114 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11115
11116         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11117         Ressler.
11118
11119 2002-04-16  Juergen Vigna  <jug@sad.it>
11120
11121         * text2.C (setCursor): set also the irow().
11122         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11123         (cursorUp):
11124         (cursorDown): support for locking an inset if the x_fix value goes
11125         inside it. That way I can transverse insets too with cursor up/down.
11126
11127         * lyxrow.h: added irow helper function same as other (i) functions.
11128
11129         * BufferView_pimpl.C (cursorPrevious):
11130         (cursorNext): fixed for insets!
11131
11132 2002-04-15  Juergen Vigna  <jug@sad.it>
11133
11134         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11135         position otherwise it is wrong in some cases.
11136
11137         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11138         inside the inset before the call.
11139
11140 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11141
11142         * buffer.[Ch] (getBibkeyList): make it const.
11143
11144 2002-04-12  Juergen Vigna  <jug@sad.it>
11145
11146         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11147
11148         * text2.C (getCursorX): new helper function
11149         (setCursor): compute also ix_
11150         (setCursorFromCoordinates): set also ix.
11151
11152         * lyxcursor.h: added ix_ and helper functions.
11153
11154         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11155
11156         * buffer.C (insertStringAsLines): dont break paragraph if the this
11157         paragraph is inside an inset which does not permit it!
11158
11159         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11160         also with no chars on this paragraph.
11161         (paintRowText): only paint stuff if it's inside the workarea!
11162
11163         * paragraph.C (breakParagraph): honor keepempty flag and break the
11164         paragraph always below not above.
11165
11166         * BufferView2.C (unlockInset): update the paragraph layout on inset
11167         unlock as we changed paragraph in such a case.
11168
11169         * lyxfind.C (LyXFind): clear the former selection if not found!
11170
11171         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11172         again called in insertChar().
11173
11174         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11175         an inset which uses the whole row!
11176         (rightMargin): ditto.
11177         (insertChar): force a rebreak if we inserted an inset!
11178
11179 2002-03-28  Herbert Voss  <voss@lyx.org>
11180
11181         * lyxlength.[Ch]: add inBP() to get the right PS-point
11182         units (BigPoint). With inPixels we have rounding errors
11183
11184 2002-04-11  Juergen Vigna  <jug@sad.it>
11185
11186         * text2.C (setCursorFromCoordinates): set iy to the right value.
11187         (setCursor): add check if row->previous exists!
11188
11189         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11190         an old float_type as this was the case in the old code!
11191
11192         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11193
11194         * BufferView2.C (showLockedInsetCursor): use iy
11195         (fitLockedInsetCursor): ditto
11196
11197         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11198         locked insets as there we have the right value now.
11199
11200         * lyxcursor.C: added iy_ variable and iy functions to set to the
11201         baseline of cursor-y of the locked inset.
11202
11203         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11204         (setCursor): fixed for insets which need a full row.
11205
11206         * text.C (rowLastPrintable): don't ignore the last space when before
11207         an inset which needs a full row.
11208         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11209         as last character of a row when before a inset which needs a full row.
11210
11211 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * version.C.in: update date
11214
11215         * text2.C (fullRebreak): try to always return true and see what
11216         happens...
11217
11218 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11219
11220         * MenuBackend.C (expand): use Floating::listName
11221
11222         * FloatList.C (FloatList): add listName argument to the built-in
11223         floats
11224
11225         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11226         text associated with the float.
11227
11228 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11229
11230         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11231
11232 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11233
11234         * ShareContainer.h: add a couple of missing typenames.
11235
11236 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11237
11238         * lyxrc.C (getDescription): use _() correctly rather than N_().
11239
11240 2002-03-28  Herbert Voss  <voss@lyx.org>
11241
11242         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11243         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11244
11245 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11246
11247         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11248         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11249
11250 2002-03-29  Juergen Vigna  <jug@sad.it>
11251
11252         * lyxfunc.C (dispatch): add a missing fitCursor call.
11253
11254         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11255         it was scrolled by a cursor move, so return the bool status.
11256
11257         * BufferView.C (fitCursor): return the bool flag also to the outside
11258         world as this is needed.
11259
11260         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11261
11262         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11263         call the edit() as it is not needed (and wrong) IMO.
11264         (workAreaButtonPress): set the screen_first variable before evt.
11265         unlock the inset as this may change screen_first and then we have
11266         a wrong y position for the click!
11267
11268 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11269
11270         * MenuBackend.C (expand): another translation that I missed
11271
11272 2002-03-28  Juergen Vigna  <jug@sad.it>
11273
11274         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11275
11276         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11277
11278 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11279
11280         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11281
11282         * MenuBackend.C (expand): fix export/view/update when there is no
11283         document open.
11284
11285 2002-03-27  Herbert Voss  <voss@lyx.org>
11286
11287         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11288         and text%
11289
11290 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * bufferview_funcs.C (currentState): only show paragraph number
11293         for is DEVEL_VERSION is set.
11294
11295         * lyxfunc.C (dispatch): put warning in INFO channel
11296
11297         * MenuBackend.C (expand): translate the name of floats
11298
11299         * FloatList.C (FloatList): mark the float names for translation
11300
11301         * converter.C (convert): use LibScriptSearch
11302
11303 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * MenuBackend.C (defaults): fix default menu (we might as well get
11306         rid of it...)
11307
11308 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11309
11310         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11311         directory.
11312
11313 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11314
11315         * lyxvc.C: reorder includes.
11316
11317 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11318
11319         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11320           properly
11321
11322 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11323
11324         * CutAndPaste.C: change layouts earlier on paste
11325           to avoid crashing when calling getFont()
11326
11327 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11328
11329         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11330         irritating #error.
11331
11332 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11333
11334         * WorkArea.C: remove 'Pending' debug message.
11335
11336         * most files: ws cleanup
11337
11338         * buffer.[Ch]: ws changes
11339
11340         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11341
11342 2002-03-21  Juergen Vigna  <jug@sad.it>
11343
11344         * tabular.C (SetMultiColumn): collapse also the contents of the
11345         cells and set the last border right. Added a Buffer const * param.
11346
11347 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11350         linking or not.
11351
11352 2002-03-19  Juergen Vigna  <jug@sad.it>
11353
11354         * text2.C (clearSelection): reset also xsel_cache.
11355
11356         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11357         where it needs to be called (John tells us to do so too :)
11358         (selectionLost): reset sel_cache.
11359
11360         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11361
11362 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11363
11364         * text2.C (setCursorIntern): put debuging code in INSETS channel
11365
11366 2002-03-19  André Pönitz <poenitz@gmx.net>
11367
11368         * lyxfunc.C: tiny whitespace change
11369
11370 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11371
11372         * ToolbarDefaults.C (init):
11373         * LyXAction.C (init):
11374         * commandtags.h:
11375         * BufferView_pimpl.C (Dispatch):
11376         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11377
11378 2002-03-19  Allan Rae  <rae@lyx.org>
11379
11380         * exporter.C (Export): removeAutoInsets before doing anything else.
11381         While I've just introduced a dependency on BufferView this really is
11382         the best place to clean the buffer otherwise you need to cleanup in
11383         a dozen places before calling export or cleanup in a dozen functions
11384         that export calls.
11385
11386         * converter.C (runLaTeX):
11387         (scanLog): Better handling of removeAutoInsets and screen updates.
11388
11389         * lyxfunc.C (dispatch): small whitespace changes
11390
11391 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11392
11393         * WorkArea.C (C_WorkAreaEvent): return a value.
11394         (event_cb): return 1 if we handled the event, 0 otherwise.
11395
11396         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11397
11398 2002-03-18  Juergen Vigna  <jug@sad.it>
11399
11400         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11401         (GetAdditionalWidth): ditto.
11402         (RightLine): ditto.
11403         (LeftLine): ditto.
11404
11405         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11406         inset if we're there actually (probably not used right now but this
11407         is the direction to go for unifying code).
11408         (paste): disable code to clear the selection.
11409
11410         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11411         inside an InsetText and move the check further up as it is in the
11412         wrong place.
11413
11414         * text2.C (pasteSelection): set a selection over the pasted text.
11415
11416 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11417
11418         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11419         and libgraphics to build on Cygwin.
11420
11421 2002-03-15  Juergen Vigna  <jug@sad.it>
11422
11423         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11424         inserting an Inset into the paragraph. I know this is not the best
11425         fix but we already use current_view in CutAndPaste so we will remove
11426         all of it's using at the same time.
11427
11428         * buffer.C (sgmlError): deactivated function till it is rewritten in
11429         the right mode, now it can create problems.
11430
11431         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11432         before accessing it.
11433
11434 2002-03-14  Juergen Vigna  <jug@sad.it>
11435
11436         * undo_funcs.C (textHandleUndo): do the right thing when updating
11437         the inset after the undo/redo.
11438
11439         * text2.C (setCursor): just some testcode for #44 not ready yet.
11440
11441         * undo_funcs.C (textHandleUndo): set the next() and previous()
11442         pointers of the paragraph to 0 before deleting otherwise we have
11443         problems with the Paragraph::[destructor].
11444
11445         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11446         on a paragraph insertion.
11447
11448 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11449
11450         * buffer.C (asciiParagraph): use += operator for char append to
11451         string.
11452
11453         * paragraph.C (getFontSettings): compare >= not just >
11454         (highestFontInRange): ditto
11455         (setFont): ditto
11456
11457 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11458
11459         * paragraph.C: change several algorithm to be more appripriate for
11460         the problem domain. This is lookip in FontList and in the InsetList.
11461
11462 2002-03-13  André Pönitz <poenitz@gmx.net>
11463
11464         * commandtags.h:
11465         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11466
11467 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11468
11469         * commandtags.h:
11470         * LyXAction.C:
11471         * lyxfunc.C:
11472         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11473
11474 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11475
11476         * Painter.C (display): anon helper function, adjust code for this
11477         change.
11478         (pixmap): remove function.
11479
11480         * Painter.h: remove private display variable.
11481
11482         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11483
11484 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11485
11486         * WorkArea.[Ch]: remove figinset_canvas cruft.
11487
11488 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11489
11490         * lyxtextclass.C (operator): add one item cache optimization.
11491
11492         * bufferlist.h: doxy changes
11493
11494         * bufferlist.C: ws changes
11495
11496         * DepTable.[Ch] (ext_exist): place const in the right spot.
11497
11498         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11499         call resizeInsets.
11500         (workAreaExpose): call resizeInsets when the with BufferView changes.
11501         (Dispatch): adjust for protectedBlank removal
11502         (specialChar): call updateInset if the insert went ok.
11503
11504         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11505         specialChar instead.
11506
11507         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11508
11509         * BufferView.h: doxy change
11510
11511         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11512
11513         * lyxtextclass.C (operator[]): remove non-const version
11514         (defaultLayout): remove non-const version
11515
11516 2002-03-12  Juergen Vigna  <jug@sad.it>
11517
11518         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11519         did resize the LyXText too.
11520
11521         * buffer.C (readLyXformat2): set layout information on newly allocated
11522         paragraphs.
11523
11524         * tabular.C (OldFormatRead): set layout information on the paragraph.
11525
11526 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11527
11528         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11529
11530 2002-03-11  Juergen Vigna  <jug@sad.it>
11531
11532         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11533         plainly wrong.
11534         (resizeCurrentBuffer): force also the insets to resize themselfes.
11535         (moveCursorUpdate): fixed up for InsetText.
11536
11537 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11538
11539         * commandtags.h:
11540         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11541         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11542         value of Dialogs::tooltipsEnabled().
11543         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11544
11545 2002-03-08  Juergen Vigna  <jug@sad.it>
11546
11547         * BufferView_pimpl.C (updateInset): update inset inside inset also
11548         if it isn't inside theLockingInset().
11549
11550 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11551
11552         * buffer.C (asciiParagraph): redo some of the word and line length
11553         handling.
11554         (getLists): look for Caption instead of caption.
11555
11556 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11557
11558         * buffer.C (Buffer): initialize niceFile to true
11559         (makeLaTeXFile):
11560         (makeLinuxDocFile):
11561         (makeDocBookFile): make sure niceFile is true on exit
11562
11563 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11564
11565         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11566
11567 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11568
11569         * LyXSendto.C: remove.
11570         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11571         * lyx_gui.C: remove now-redundant comment.
11572         * ColorHandler.h: remove forward declaration of class WorkArea.
11573         * lyxfunc.C: remove #include "WorkArea.h".
11574
11575 2002-03-07  Juergen Vigna  <jug@sad.it>
11576
11577         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11578         got moved away with the DEPM and also set the inset_owner always
11579         right which before could have been omitted.
11580
11581 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11584         wanted layout is not found.
11585
11586 2002-03-07  Juergen Vigna  <jug@sad.it>
11587
11588         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11589
11590 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11591
11592         * paragraph.C (breakParagraph): use default layout not layout of
11593         prev paragraph.
11594         (Paragraph): clear ParagraphParameters.
11595
11596 2002-03-06  Juergen Vigna  <jug@sad.it>
11597
11598         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11599         otherwise it would not be a valid lenght. Fixed a special case in
11600         the minipage compatibility read where we end the document with a
11601         minipage.
11602
11603         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11604         was set as it could be 0 for InsetTexts first entry.
11605
11606 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11607
11608         * paragraph.C (writeFile): if layout is empty write out
11609         defaultLayoutName().
11610
11611         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11612         file without named layout we set layout to defaultLayoutName().
11613
11614 2002-03-06  Juergen Vigna  <jug@sad.it>
11615
11616         * CutAndPaste.C (copySelection): set layout for new paragraph.
11617
11618         * text.C (prepareToPrint): leave ERT inset left aligned
11619         (leftMargin): don't indent paragraphs inside ERT insets
11620
11621 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11622
11623         * paragraph.C (breakParagraph): dont call clear do the work manually
11624
11625         * paragraph.[Ch] (clear): remove function
11626
11627 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * paragraph.C (Paragraph): dont call clear, the work has already
11630         been done.
11631
11632         * lyxtextclass.C (operator): assert if n is empty
11633
11634         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11635         work manually instead.
11636
11637 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11638
11639         * BufferView_pimpl.C: protect selectionLost against text == 0
11640
11641 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * text.C (breakParagraph): fix a setting layout to '0' problem.
11644
11645 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11646
11647         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11648         final location of file, for the included files, and graphics.
11649
11650 2002-03-05  Juergen Vigna  <jug@sad.it>
11651
11652         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11653
11654 2002-03-04  Juergen Vigna  <jug@sad.it>
11655
11656         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11657
11658         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11659         last column of multicolumn cells.
11660         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11661
11662 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11663
11664         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11665         file if it doesn't go to a temporary file.
11666
11667         * buffer.C (sgmlOpenTag):
11668         (sgmlCloseTag):  remove extra newline insertion.
11669
11670 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11671
11672         * text.C (getRowNearY): comment out debug msg
11673
11674 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11675
11676         * text2.C: first -> first_y
11677
11678         * text.C (getRowNearY): add some attemts at a possible
11679         optimization, not working.
11680
11681         * tabular.[Ch]: add BufferParams to several function so that newly
11682         created paragraph can be initialized to he default layotu for the
11683         buffers textclass.
11684
11685         * tabular-old.C (ReadOld): add buf->params to call of Init
11686
11687         * screen.C: rename text->first to text->first_y
11688
11689         * paragraph.C (breakParagraph): always set layout in the broken
11690         paragraph
11691
11692         * lyxtextclass.C (Read): remove lowercase
11693         (hasLayout): ditto
11694         (operator): ditto
11695         (delete_layout): ditto
11696
11697         * lyxtext.h: rename first -> first_y
11698
11699         * lyxlayout.C (Read): remove lowercase
11700         (name): ditto
11701         (setName): ditto
11702         (obsoleted_by): ditto
11703
11704         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11705
11706         * buffer.C (insertErtContents): add params are to InsetERT
11707         (parseSingleLyXformat2Token): add code to check if a paragraphs
11708         layout really exist.
11709         (parseSingleLyXformat2Token): add params to several inset
11710         constructors
11711         (asciiParagraph): remove lowercase, do the layout comparisons with
11712         no_case
11713
11714         * BufferView_pimpl.C (cursorNext): first -> first_y
11715         (resizeCurrentBuffer): first -> first_y
11716         (updateScrollbar): first -> first_y
11717         (scrollCB): first -> first_y
11718         (workAreaMotionNotify): first -> first_y
11719         (workAreaButtonPress): first -> first_y
11720         (checkInsetHit): first -> first_y
11721         (cursorPrevious): first -> first_y
11722         (cursorNext): first -> first_y
11723         (Dispatch): add buffer_->params to severl inset contructors
11724
11725 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11726
11727         * lyxlayout.C (Read): remove some debug info that I forgot.
11728
11729         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11730         clean up the code slightly.
11731         (makeLinuxDocFile): ditto
11732         (makeDocBookFile): ditto
11733
11734         * text2.C: layout as string
11735
11736         * text.C: layout as string
11737
11738         * paragraph_pimpl.C: layout as string
11739
11740         * paragraph.[Ch]: layout as string
11741
11742         * lyxtextclasslist.[Ch]: layout as string
11743
11744         * lyxtextclass.[Ch]: layout as string
11745
11746         * lyxtext.h: layout as string
11747
11748         * lyxlayout.[Ch]: layout as string
11749
11750         * lyx_cb.C: layout as string
11751
11752         * bufferview_funcs.C: layout as string
11753
11754         * bufferparams.C: layout as string
11755
11756         * buffer.C: layout as string
11757
11758         * LyXView.[Ch]: layout as string
11759
11760         * LaTeXFeatures.[Ch]: layout as string
11761
11762         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11763
11764         * BufferView_pimpl.C: change current_layout to string, remove
11765         lyx::layout_type.
11766         (Dispatch):
11767         (smartQuote):
11768         (insertInset):
11769         (workAreaButtonRelease): layout as string
11770
11771         * BufferView2.C (unlockInset): adjust
11772
11773         * vspace.C (asLatexCommand): use an explict temp variable.
11774
11775 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11776
11777         * Makefile.am: use FRONTEND_*
11778
11779 2002-03-01  Juergen Vigna  <jug@sad.it>
11780
11781         * tabular.C (SetWidthOfMulticolCell): changed to something better
11782         I hope but still work in progress.
11783         (recalculateMulticolumnsOfColumn): renamed function from
11784         recalculateMulticolCells as it is more appropriate now.
11785         (SetWidthOfCell): calculate multicols better.
11786
11787 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11788
11789         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11790
11791         * lyxfunc.C (processKeySym): print sequence also if it is
11792         `deleted' (complete)
11793
11794         * kbsequence.C (print): print sequence even if it is deleted
11795         (complete would be a better word, actually).
11796
11797         * lyxfunc.C (dispatch): print complete options after a prefix key
11798
11799         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11800
11801 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11802
11803         * text2.C (setCharFont): eliminate setCharFont code duplication.
11804
11805 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11806
11807         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11808         LFUN_TABULAR_FEATURE (bug #177)
11809
11810 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11811
11812         * Makefile.am: remove figure.h
11813
11814 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11815
11816         * Bufferview_pimpl.C:
11817         * CutAndPasteC:
11818         * LaTeX.C:
11819         * LyXSendto.C:
11820         * buffer.C:
11821         * bufferlist.C:
11822         * converter.C:
11823         * language.C:
11824         * lyxfunc.C:
11825         * lyxvc.C:
11826         * paragraph.C:
11827         * text.C:
11828         * text2.C: remove #include "lyx_gui_misc.h".
11829
11830         * LaTeX.C: added #include <cstdio>
11831
11832 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11833
11834         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11835         that the paragraph following this one can have.
11836
11837         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11838
11839         * vspace.C (asLatexCommand): fix bogus gcc warning
11840
11841         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11842
11843 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11844
11845         * text2.C (setLayout): get rid of redundant code
11846
11847 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11848
11849         * text2.C (incDepth): make sure depth cannot be increased beyond
11850         reasonable values.
11851
11852 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11853
11854         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11855         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11856
11857         * PainterBase.h (image):
11858         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11859         a LyXImage const *.
11860
11861 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11862
11863         * BufferView.C:
11864         * BufferView.h:
11865         * BufferView_pimpl.C:
11866         * BufferView_pimpl.h:
11867         * LaTeXFeatures.C:
11868         * LyXAction.C:
11869         * LyXView.C:
11870         * Makefile.am:
11871         * UpdateList.h:
11872         * UpdateList.C:
11873         * buffer.C:
11874         * figure.h:
11875         * figureForm.C:
11876         * figureForm.h:
11877         * figure_form.C:
11878         * figure_form.h:
11879         * lyx_cb.C:
11880         * lyx_gui.C:
11881         * lyx_gui_misc.C:
11882         * lyxfunc.C:
11883         * sp_base.h:
11884         * sp_ispell.h:
11885         * sp_pspell.h:
11886         * sp_spell.C: remove fig inset, and the crap house of
11887           cards that follows it
11888
11889 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * Makefile.am:
11892         * lyxserver.C:
11893         * os2_defines.h:
11894         * os2_errortable.h:
11895         * nt_defines.h: move .h into support/
11896
11897         * vms_defines.h: remove
11898
11899         * WorkArea.C: add space in debug output
11900
11901         * text2.C:
11902         * paragraph.C:
11903         * buffer.C: add WITH_WARNINGS
11904
11905         * vc-backend.h:
11906         * vc-backend.C:
11907         * bufferlist.C: s/retrive/retrieve/, add docs
11908
11909         * vspace.h:
11910         * vspace.C:
11911         * kbmap.h:
11912         * lyxlength.h:
11913         * lyxgluelength.h:
11914         * length_common.h:
11915         * chset.h:
11916         * chset.C: add docs
11917
11918         * lyxgui.C: add ID to X error handler
11919
11920         * lyxtestclass.c: fix typo
11921
11922 2002-02-26  Juergen Vigna  <jug@sad.it>
11923
11924         * tabular_funcs.C (write_attribute): changed so that some default
11925         attributes are not written at all.
11926         (getTokenValue): set default values before trying to read the
11927         value so we have the return value always set as default if we don't
11928         find the token we search for.
11929
11930         * tabular.C (Write): write bools as bools not as strings!
11931
11932 2002-02-22  Juergen Vigna  <jug@sad.it>
11933
11934         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11935         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11936
11937         * text.C (leftMargin): don't add an indent for paragraphs inside
11938         tabular cells (fix #208).
11939
11940 2002-02-21  José Matos  <jamatos@fep.up.pt>
11941
11942         * tabular.C (docBook): fixed support for long tables.
11943
11944 2002-02-20  Juergen Vigna  <jug@sad.it>
11945
11946         * text2.C (getFont): get the drawing font of the Inset if this
11947         paragraph is inside an inset (only important for InsetERT for now).
11948
11949         * buffer.C (insertErtContents): use new lanugage params in ERT
11950         constructor.
11951
11952         * CutAndPaste.C: commenting out seemingly uneeded code.
11953
11954 2002-02-19  Allan Rae  <rae@lyx.org>
11955
11956         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11957         Iterators might be simple to use but they also get invalidated.
11958         (removeAutoInsets): renamed saved cursor tracking variables and added
11959         some comments to clarify what everything does.
11960
11961 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11962
11963         * Chktex.C:
11964         * LaTeX.C:
11965         * LyXSendto.C:
11966         * converter.C:
11967         * lyx_cb.C:
11968         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11969         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11970
11971         * lyxfunc.C:
11972         * vc-backend.h: remove #include "support/syscall.h"
11973
11974         * LaTeX.C:
11975         * LyXSendto.C:
11976         * converter.C: rearrange #includes in Lars' approved fashion.
11977
11978         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11979         forward declare class Timeout in the header file.
11980
11981         * XFormsView.C: changes due to the above.
11982
11983         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11984         similar to LyXView.
11985
11986         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11987         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11988
11989 2002-02-18  José Matos  <jamatos@fep.up.pt>
11990
11991         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11992         insets contents.
11993
11994 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11995
11996         * a lot of small ws changes
11997         * add a lot of using std::XXX
11998         * use std construcs some places where approp.
11999         * use some exisint stuff from lyxfunctional where approp.
12000         * Make file changes to use partial linking (lets test this now...)
12001
12002 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12003
12004         * Chktex.C:
12005         * buffer.C:
12006         remove #include "support/syscontr.h" as it's redundant. Always has been.
12007
12008         * Chktex.C:
12009         * LaTeX.C:
12010         * LyXSendto.C:
12011         * converter.C:
12012         * lyx_cb.C:
12013         * vc-backend.C:
12014         change Systemcalls::System to Systemcalls::Wait and
12015         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12016         No change of functionality, just reflects the stripped down Systemcalls
12017         class.
12018
12019 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12020
12021         * debug.[Ch]: add a GRAPHICS type to the enum.
12022
12023 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12024
12025         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12026
12027         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12028         there is an inset.
12029
12030 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12031
12032         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12033         match the changes below.
12034
12035         * text2.C (toggleInset): if there is not editable inset at cursor
12036         position, try to see if cursor is _inside_ a collapsable inset
12037         and close it.
12038
12039 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12040
12041         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12042         document menu has a nice checkbox
12043
12044 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12045
12046         * lyxlength.C (asLatexString): change PW to output as percent of
12047         \textwidth.
12048
12049         * lengthcommon.C: change '%' to 't%'
12050
12051         * lyxfunc.C (dispatch): a few comments from Martin
12052
12053 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12054
12055         * WorkArea.h:
12056         * WorkArea.C:
12057         * BufferView_pimpl.h:
12058         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12059           the X selection.
12060
12061 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12062
12063         * vspace.C (inPixels): fix compiler warning
12064
12065 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12066
12067         * lyxfunc.C (getStatus): fix status message for disabled commands.
12068
12069 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12070
12071         * BufferView_pimpl.C: fix crash on close buffer
12072         during selection (#227)
12073
12074 2002-01-27  Herbert Voss  <voss@lyx.org>
12075
12076         * buffer.C: link old Figure to new graphic inset
12077
12078 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12079
12080         * FontLoader.C (getFontinfo): Change the latex font names in order
12081         to match the names of type1inst.
12082
12083 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12084
12085         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12086
12087         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12088         (extchanged): ditto
12089         (ext_exist): ditto
12090         (remove_files_with_extension): ditto
12091         (remove_file): ditto
12092         (write): ditto
12093
12094         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12095         document is smaller than the work area height. Do not initialize
12096         static variables to 0.
12097
12098 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12099
12100         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12101
12102         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12103         LFUN_LAYOUT_PARAGRAPHS.
12104
12105         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12106         tabular. It is possible to provide a possible cell, which will
12107         typically be the actcell from the corresponding insettabular
12108
12109         * lyxfunc.C (getStatus): small cleanup; disable
12110         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12111         true
12112
12113 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12114
12115         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12116
12117         * paragraph.C (startTeXParParams):
12118         (endTeXParParams): new methods. The LaTeX code to
12119         start/end paragraph formatting
12120         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12121         empty (fixes bug #200)
12122
12123         * vspace.C (inPixels): adapt to the change below
12124         (inPixels): [later] more cleanups (remove unused variables)
12125
12126         * lyxlength.C (inPixels): change to use a width and a height as
12127         parameter.
12128
12129 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12130
12131         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12132         Replaced with \paperwidth
12133
12134         * DepTable.C (insert): add std:: qualifier
12135
12136 2002-01-18  Allan Rae  <rae@lyx.org>
12137
12138         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12139         updated also?
12140
12141         * text.C (drawInset): Turned out I didn't know enough about how
12142         rebreaking worked.  This fixes most of the redraw problems.  I see
12143         an occasional cursor trail when a line is broken now and the cursor
12144         placement can seem out by a few pixels also after a rebreak.
12145
12146 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12147
12148         * buffer.C (parseSingleLyXformat2Token): update because minipage
12149         width is now a LyXLength
12150
12151         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12152
12153         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12154         math insets
12155
12156 2002-01-17  Juergen Vigna  <jug@sad.it>
12157
12158         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12159
12160         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12161         is set correctly and the inset is updated correctly.
12162
12163 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12164
12165         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12166         the beginning of the loop.
12167
12168 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * lyxrc.C: improve help for use_scalable_fonts
12171
12172 2002-01-17  Allan Rae  <rae@lyx.org>
12173
12174         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12175
12176 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12177
12178         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12179         make sure to set their inset_owner to the right value (bug #171)
12180
12181 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12182
12183         * DepTable.h
12184         * DepTable.C: Implement mtime checking to reduce time spent doing
12185         CRCs.
12186
12187 2002-01-16  Juergen Vigna  <jug@sad.it>
12188
12189         * tabular.C (GetAdditionalHeight): one of error fixed.
12190
12191         * lyxrc.C (output): small fix in writing use_pspell.
12192
12193 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12194
12195         * sp_base.h: #include LString.h
12196
12197 2002-01-16  Allan Rae  <rae@lyx.org>
12198
12199         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12200         Can someone check this please?
12201
12202         * text.C (drawInset): It was possible that p.row would be removed by
12203         breakAgainOneRow upsetting a few other settings.  There may be another
12204         small tweak possible by setting need_break_row = 0 when p.row has been
12205         removed but I don't know enough about the logic here.
12206
12207 2002-01-15  Allan Rae  <rae@lyx.org>
12208
12209         * text.C (insertChar): removed conditional truism.
12210
12211         * BufferView2.C (removeAutoInsets): More tweaks.
12212         cur_par_prev could be a stray pointer.  Check for trailing empty line
12213         in case last line was cur_par and only had an error inset on it.
12214
12215 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12216
12217         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12218         absolute
12219
12220         * vc-backend.C (most methods):
12221         * exporter.C (Export):
12222         * converter.C (convert):
12223         (runLaTeX):
12224         * LyXSendto.C (SendtoApplyCB):
12225         * lyxfunc.C (dispatch):
12226         (menuNew):
12227         (open):
12228         (doImport):
12229         * lyx_cb.C (AutoSave):
12230         (InsertAsciiFile):
12231         * BufferView_pimpl.C (MenuInsertLyXFile):
12232         * buffer.C (runChktex): use Buffer::filePath().
12233
12234         * buffer.h: rename filename to filename_; rename filepath to
12235         filepath_ and make it private
12236         (filePath): new method
12237
12238         * buffer.C (writeFile): use fileName()
12239         (getLatexName):
12240
12241         * lyx_main.C (init): fix starting  of LyX when the binary is a
12242         link from so,ewhere else.
12243
12244         * minibuffer.C: include <cctype> for isprint
12245
12246 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12247
12248         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12249         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12250         name clash with InsetCollapsable's width function.
12251
12252 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12253
12254         * lastfiles.C: include <iterator>
12255
12256 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12257
12258         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12259         std::count.
12260
12261         * buffer.C (makeLaTeXFile): ditto.
12262         Also make loop operation more transparent.
12263
12264 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12265
12266         * ToolbarDefaults.C: remove trailing comma closing namespace.
12267
12268         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12269
12270         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12271         as in WorkArea.
12272
12273         * trans.C (Load): comment out unused variable, allowed.
12274
12275 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12276
12277         * minibuffer.[Ch] (append_char): new method to recieve input from the
12278         drop-down completion browser. If a key was pressed, then recieve this
12279         char and append it to the existing string.
12280         (peek_event): modify the positioning data passed to the completion
12281         browser so that it can be placed above the minibuffer rather than below.
12282 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * LyXAction.C (init): alloe error-next for readonly documents.
12285
12286         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12287         count.
12288
12289 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12290
12291         * bufferlist.C (readFile): create the buffer _after_ checking that
12292         the file exists.
12293
12294         * lyxfunc.C (verboseDispatch): fix handling of arguments
12295
12296         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12297
12298         * lyxrc.C: use string::erase() instead of initializing to "".
12299
12300
12301 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12302
12303         * BufferView_pimpl.h:
12304         * BufferView_pimpl.C:
12305         * WorkArea.h:
12306         * WorkArea.C:
12307         * text2.C: tell X when we have made a selection for copying
12308
12309 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12310
12311         * BufferView_pimpl.C (MenuInsertLyXFile):
12312         * lyxfunc.C (menuNew):
12313         (open):
12314         (doImport): add shortcuts to directory buttons
12315
12316         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12317         open a float)
12318
12319         * lyxfunc.C (setStatusMessage):
12320         (getStatusMessage): new methods
12321         (getStatus):use setStatusMessage instead of setErrorMessage
12322         (dispatch): when function is disabled, set error message here
12323         [instead of in getStatus previously]
12324
12325         * BufferView_pimpl.C (workAreaButtonRelease): update
12326         toolbar/menubar here too.
12327
12328 2002-01-13  Allan Rae  <rae@lyx.org>
12329
12330         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12331         Now seems indestructible.  Remaining task is to audit all other
12332         code affected by deleteEmptyParagraphMechanism.  One small quirk
12333         left is that an empty document with an error in the preamble can
12334         be made to report an error but no error box appears.  I don't know
12335         where it goes.
12336         (removeAutoInsets): Improved comments.
12337
12338 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * Thesaurus.h:
12341         * Thesaurus.C: update for Aiksaurus 0.14
12342
12343 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12344
12345         * text2.C (firstParagraph): removed member function, all uses
12346         replaces with ownerParagraph
12347         (redoParagraphs): here
12348         (updateInset): here
12349         (toggleAppendix): here
12350         * BufferView2.C (insertErrors): here
12351         (setCursorFromRow): here
12352
12353 2002-01-13  Allan Rae  <rae@lyx.org>
12354
12355         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12356         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12357         There is still a way to segfault this although you may have to do this
12358         multiple times: Have an InsetERT with an unknown command in it.
12359         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12360         <down-arrow>, <Enter> again, View->DVI, BANG!
12361
12362         * text2.C (setCursor):
12363         (deleteEmptyParagraphMechanism):
12364         * lyxtext.h (setCursor):
12365         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12366         Making use of the return value may help fix other bugs.
12367
12368 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12369
12370         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12371
12372         * LyXView.C (updateMenubar): call MenuBar::update here
12373         (updateToolbar): but not here
12374         (showState): do not update toolbar/menubar
12375
12376         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12377         should need to care about that.
12378
12379         * lyxfunc.C (verboseDispatch): simplify a bit
12380         (getStatus): have a version which takes a pseudoaction, and
12381         another which requires a (kb_action,string).
12382
12383         * LyXAction.C (retrieveActionArg): make it work also when action
12384         is not a pseudo-action.
12385         (getActionName): simplify a bit
12386         (helpText):
12387
12388 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12389
12390         * lyxfunc.C (verboseDispatch): new families of methods with
12391         several ways to specify a command and a bool to indicate whether
12392         the command name and shortcut should be displayed in minibuffer
12393         (eventually, we could extend that to a finer bitmask like
12394         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12395         (dispatch): the pristine dispatch command which just, well,
12396         dispatchs! Note it still sets its result to minibuffer; I'm not
12397         sure we want that.
12398
12399         * lyxfunc.h: remove setHintMessage
12400
12401         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12402
12403 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12404
12405         * BufferView_pimpl.C (specialChar): delete new inset if we have
12406         not been able to insert it.
12407
12408         * kbmap.C: revert to using int instead of kb_action, since all we
12409         are dealing with is pseudo-actions.
12410
12411         * LyXAction.C (searchActionArg): change to return int instead of
12412         kb_action, since the result is a pseudoaction.
12413
12414 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12415
12416         * buffer.C (insertErtContents): Fix (partially) the font bug.
12417
12418 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12419
12420         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12421         as the other one is broken on my machine!
12422
12423 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12424
12425         * commandtags.h:
12426         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12427
12428 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12429
12430         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12431         reflect their actual use. Provide compatibility code for older lyxrc
12432         files.
12433
12434         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12435         FL_NORMAL_STYLE.
12436         change names of popup font variables in line with the changes to lyxrc.C
12437
12438 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12439
12440         * buffer.C (asciiParagraph): avoid outputing a word twice after
12441         an inset.
12442
12443         * lyxrc.C (getDescription): document that document_path and
12444         template_path can be empty.
12445
12446 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12447
12448         * LaTeXFeatures.C (getMacros):
12449         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12450
12451         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12452
12453         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12454         getPackages.
12455         (getPackages): rename feature "floats" to "float". Use an array to
12456         iterate over 'simple' features (i.e. just a \usepackage). Add
12457         handling of "amsmath" (renamed from "amsstyle").
12458
12459 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12460
12461         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12462         features list.
12463
12464 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12465
12466         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12467         FuncStaus::FuncStatus & FuncStaus::some_method().
12468
12469 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12470
12471         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12472         of the func_satus stuff. Edited and massaged in various ways by
12473         JMarc.
12474
12475         * lyxfunc.C (getStatus): use FuncStatus
12476
12477 2002-01-08  Juergen Vigna  <jug@sad.it>
12478
12479         * text.C (nextBreakPoint): use function Inset::isChar().
12480
12481         * paragraph.C (TeXOnePar): use function
12482         Inset::forceDefaultParagraphs.
12483
12484         * buffer.C (latexParagraphs): use function
12485         Inset::forceDefaultParagraphs.
12486
12487 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12488
12489         * lyx_gui.C (init): set the style of the menu popups to
12490         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12491
12492 2002-01-07  Juergen Vigna  <jug@sad.it>
12493
12494         * text.C (setHeightOfRow): small fix
12495         (prepareToPrint): don't look at alignment if we don't have the place
12496         for doing it.
12497
12498 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12499
12500         * box.C: New file. Move the Box methods and functions out of box.h,
12501         following Lars' suggestion.
12502
12503 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12504
12505         * box.h: #include "support/LOstream.h", needed for inlined function.
12506
12507         * lyxtextclass.C:
12508         * lyxtextclasslist.C: added some using std declarations.
12509
12510 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * box.h: make signed dimensions to allow insets wider than
12513           the screen (bug #162)
12514
12515         * BufferView_pimpl.C: add some insetHit debug
12516
12517 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12518
12519         * vc-backend.C: add FIXME
12520
12521 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12522
12523         * lyxfunc.C (getStatus): enable code for showing math font status
12524         in toolbar/menu.
12525
12526 2002-01-07  Juergen Vigna  <jug@sad.it>
12527
12528         * text.C (nextBreakPoint): removed debug output not needed anymore.
12529
12530 2002-01-06  Juergen Vigna  <jug@sad.it>
12531
12532         * text.C (nextBreakPoint): fixed up this function we had this bug
12533         since ever but now hopefully we break row better.
12534         (insertChar): we have to check if an inset is the next char as it
12535         could now happen that a large inset is causing a break.
12536
12537 2002-01-05  Juergen Vigna  <jug@sad.it>
12538
12539         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12540         if it doesn't like to be drawed.
12541
12542 2002-01-04  Juergen Vigna  <jug@sad.it>
12543
12544         * BufferView2.C (lockInset): forgot to set a cursor.
12545
12546         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12547
12548 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12549
12550         * FormMathsPanel.C:
12551         * FormMathsPanel.h
12552         * MathsSymbols.C:
12553         * form_maths_panel.C:
12554         * form_maths_panel.h:
12555         * form_maths_panel.fd: implemented sub- and super- buttons in math
12556         panel.
12557
12558         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12559         (or ^ space) to be used as in TeX (req'd by André).
12560
12561         * lyxfunc.C: Allow ^ and _ again to be used both as
12562         super/subscript (mathed) and as themselves (in text).
12563
12564 2002-01-03  Allan Rae  <rae@lyx.org>
12565
12566         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12567         "LyX" or the filename of the current buffer if it has one.  This is a
12568         modified form of John Levon's patch.
12569
12570         * XFormsView.C (setWindowTitle): also set icon title.
12571
12572         * LyXView.h (setWindowTitle): signature changed.
12573         * XFormsView.h (setWindowTitle): ditto.
12574
12575 2002-01-02  Juergen Vigna  <jug@sad.it>
12576
12577         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12578
12579 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12580
12581         * screen.C (topCursorVisible): introduce a temp var for
12582         text->cursor.row(), handle the case where this row is null. (kindo
12583         hachish)
12584
12585         * text2.C (setCursor): add a couple of asserts.
12586
12587         * paragraph.h (inset_iterator): add -> operator
12588
12589         * paragraph.[Ch] (autoDeleteInsets): remove member function
12590
12591         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12592         cursor pos correctly and handle inset deletion by itself.
12593         (insertErrors): move iterator declaration out of for expression
12594
12595         * lyxtextclass.C: add <algorithm>
12596
12597         * Makefile.am: added the new files to sources, removed layout.C
12598
12599         * layout.C: removed file
12600
12601         * layout.h: remove LYX_DUMMY_LAYOUT
12602
12603         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12604         layout.
12605
12606         * lyxlayout.[Ch]:
12607         * lyxtextclass.[Ch]:
12608         * lyxtextclasslist.[Ch]: new files
12609
12610         * include order changes to a lot of files, also changes because of
12611         the six new files.
12612
12613 2001-12-27  Juergen Vigna  <jug@sad.it>
12614
12615         * buffer.C (asciiParagraph): more fixes.
12616
12617         * tabular.C (ascii): make ascii export support export of only the
12618         data separated by a column-delimiter.
12619         (ascii): better support for ascii export.
12620
12621         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12622
12623 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12624
12625         * tabular_funcs.C: use a "using std::getline" instead of the
12626         previous fix from Angus (necessary for cxx + lyxstring)
12627
12628 2001-12-24  Juergen Vigna  <jug@sad.it>
12629
12630         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12631
12632         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12633         problems. First check a minipage also if we have some ert-contents
12634         (not only on par->size(), second set the right depth of the paragraph
12635         on the relink to the root-paragraph-list!
12636
12637         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12638         which then did not anymore update the main paragraphs on undo/redo!
12639
12640 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12641
12642         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12643         code. Support all font-changing funcs (even those which are not in
12644         menu currently). Support for reporting font settings in
12645         mathed (disabled until Andre provides a function on mathed's side).
12646
12647         * func_status.h (toggle): small helper function to set toggle
12648         state on a flag.
12649
12650 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12651
12652         * tabular_funcs.C: getline -> std::getline
12653
12654 2001-12-21  Juergen Vigna  <jug@sad.it>
12655
12656         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12657         accessed and could be 0 (I couldn't generate this but it seems
12658         Michael could!).
12659
12660 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12661
12662         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12663         * tabular_funcs.h: here and include iosfwd
12664
12665 2001-12-20  Juergen Vigna  <jug@sad.it>
12666
12667         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12668         inside inset but undo_par was.
12669
12670 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12671
12672         * Thesaurus.C: always include <config.h> in sources.
12673
12674         * Painter.h:
12675         * lyxlookup.h:
12676         * box.h: do not include <config.h> in header files
12677
12678         * text.C (paintLastRow): remove unused variable
12679
12680         * text.C (transformChar):
12681         (insertChar):
12682         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12683
12684         * Painter.C (text):
12685         * font.C (width): rewrite to use uppercase() instead of
12686         islower/toupper.
12687
12688         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12689
12690 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12691
12692         * lyxfind.C: clean up of find failure position change
12693
12694 2001-12-20  Juergen Vigna  <jug@sad.it>
12695
12696         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12697
12698         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12699         (TeXRow): added to LaTeX a single tabular row.
12700         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12701         (Latex): simplified and finally good LT-h/f support.
12702         (various_functions): just small adaptions for LT-h/f support.
12703
12704         * tabular_funcs.[hC]: added and moved here all not classfunctions
12705         of LyXTabular.
12706
12707 2001-12-19  Juergen Vigna  <jug@sad.it>
12708
12709         * tabular.[Ch]: better support for longtabular options (not finished
12710         yet!)
12711
12712 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12713
12714         * text.C (paintLastRow): use the label font instead of the font of
12715         the last character to compute the size of *_BOX. This makes more
12716         sense and avoids a crash with empty paragraphs.
12717         Use Painter::rectangle to draw EMPTY_BOX.
12718
12719 2001-12-19  Juergen Vigna  <jug@sad.it>
12720
12721         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12722         the paragraphs if the replaced paragraph is not the first one!
12723         Tried to delete not used paragraphs but does not work yet so for
12724         now it's inside #ifdef's and by default off!
12725
12726 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * MenuBackend.C: include "lyx_main.h" instead of declaring
12729         lastfiles (actually was declared as LastFiles* instead of a
12730         scoped_ptr).
12731
12732 2001-12-17  Juergen Vigna  <jug@sad.it>
12733
12734         * tabular.C (AppendColumn): applied John's fix
12735
12736 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * BufferView.h:
12739         * BufferView.C:
12740         * BufferView_pimpl.h:
12741         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12742
12743         * Makefile.am:
12744         * box.h: new start of class for above
12745
12746         * lyxfunc.C: ignore space-only minibuffer dispatches.
12747           Show the command name when it doesn't exist
12748
12749         * minibuffer.C: don't add empty lines to the history
12750
12751         * minibuffer.C: add a space on dropdown completion
12752
12753 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * text.C: fix line above/below drawing in insets
12756
12757 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12758
12759         * lyxlength.C (LyXLength): Initialize private variables.
12760
12761 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12762
12763         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12764         when inserting error insets.
12765
12766 2001-12-13  Juergen Vigna  <jug@sad.it>
12767
12768         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12769         actually sometimes the before-paragraph.
12770         (setUndo): don't clear the redostack if we're not actually undoing!
12771
12772 2001-12-06  Juergen Vigna  <jug@sad.it>
12773
12774         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12775         and fixed redoing of main paragraph, so we can use it now ;)
12776
12777         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12778
12779 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12780
12781         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12782         Juergen's request
12783
12784 2001-12-13  André Pönitz <poenitz@gmx.net>
12785
12786         * undostack.[Ch]:
12787         * undo_func.C: minor cleanup
12788
12789 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12790
12791         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12792         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12793         font in urw-fonts package which is marked as -urw-fontspecific and
12794         does not work (incidentally, changing the encoding in the
12795         fonts.dir of this package to -adobe-fontspecific fixes the
12796         problem).
12797
12798         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12799         is a crash when undoing first paragraph (Juergen, please take a
12800         look). THis does not mean the undo fix is wrong, just that it
12801         uncovers problems.
12802
12803         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12804         the (Paragraph*) version when needed instead of duplicating the
12805         code.
12806
12807         * text.C (workWidth): use Inset::parOwner to find out where the
12808         inset has been inserted. This is a huge performance gain for large
12809         documents with lots of insets. If Inset::parOwner is not set, fall
12810         back on the brute force method
12811
12812         * paragraph_pimpl.C (insertInset):
12813         * paragraph.C (Paragraph):
12814         (cutIntoMinibuffer): set parOwner of insets when
12815         inserting/removing them
12816
12817         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12818
12819 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12820
12821         * commandtags.h:
12822         * LyXAction.C:
12823         * lyx_main.C:
12824         * lyxfunc.C:
12825         * mathed/formulabase.C:
12826         * mathed/math_cursor.[Ch]:
12827         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12828
12829
12830 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12831
12832         * lyxlength.[Ch] (operator!=): new function
12833
12834 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12835
12836         * text.C (workWidth): use Inset::parOwner to find out where the
12837         inset has been inserted. This is a huge performance gain for large
12838         documents with lots of insets. If Inset::parOwner is not set, fall
12839         back on the brute force method
12840
12841         * paragraph_pimpl.C (insertInset):
12842         * paragraph.C (Paragraph):
12843         (cutIntoMinibuffer): set parOwner of insets when
12844         inserting/removing them
12845
12846         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12847
12848 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12849
12850         * tabular-old.C (getTokenValue):
12851         * tabular.C (getTokenValue):
12852         (write_attribute): new versions for LyXLength
12853         (everywhere): adjust the use of widths
12854
12855         * tabular.h: change the type of widths from string to LyXLength
12856
12857 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12858
12859         * paragraph.C: fixed missing line number count when exporting
12860         Environments to LaTeX file
12861
12862         * buffer.C: added informational message for checking line numbers.
12863
12864 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12865
12866         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12867         paragraph, do the 'double space' part, but not the 'empty
12868         paragraph' one.
12869
12870         * text.C (workWidth): small optimization
12871         (getLengthMarkerHeight): use minimal size for negative lengths.
12872
12873 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12874
12875         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12876
12877         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12878
12879 2001-12-11  André Pönitz <poenitz@gmx.net>
12880
12881         * FontLoader.C:
12882         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12883
12884 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12885
12886         * text2.C: keep selection on a setFont()
12887
12888 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12889
12890         * lyx_cb.C: another bv->text misuse, from insert label
12891
12892 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12893
12894         * kbsequence.h:
12895         * kbsequence.C: re-instate nmodifier mask
12896
12897 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12898
12899         * lyx_main.h: make lyxGUI private.
12900
12901 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12902
12903         * lyxfind.C: place the cursor correctly on failed search
12904
12905 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12906
12907         * text.C (getLengthMarkerHeight): for small heights, the arrows
12908         are not always on top/bottom of the text
12909         (drawLengthMarker): smaller arrows; take the left margin in
12910         account; draw also vfills.
12911         (paintFirstRow):
12912         (paintLastRow): remove special code for vfill and standard spaces,
12913         since everything is handled in drawLengthMarker now.
12914
12915 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * buffer.C (insertErtContents): try to handle font and language
12918         interaction a bit better.g
12919
12920         * ColorHandler.C (updateColor): change the hash to cover the whole
12921         LColor enum, ws cleanup
12922         (getGCLinepars): ditto
12923         (getGCLinepars): only lookup in the linecache once.
12924
12925 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12926
12927         * iterators.C (operator++): Make the iterator more robust
12928
12929         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12930         (John's patch)
12931         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12932
12933 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12934
12935         * lyxtext.h:
12936         * text.C: better added space drawing
12937
12938 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12939
12940         * LyXView.C:
12941         * BufferView2.C: fix layout combo update on inset unlock
12942
12943 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12944
12945         * Makefile.am: don't compile unused files
12946
12947 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12948
12949         * lyxfunc.C:
12950         * commandtags.h:
12951         * LyXAction.C: remove old LFUN_LAYOUTNO
12952
12953 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12954
12955         * paragraph_pimpl.h:
12956         * paragraph_pimpl.C: isTextAt() doesn't need font param
12957
12958 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12959
12960         * lyxlex.h:
12961         * lyxlex.C: little cleanup
12962
12963 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * BufferView_pimpl.C: fix insertAscii for insets
12966
12967 2001-12-05  Juergen Vigna  <jug@sad.it>
12968
12969         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12970         set the right font on the "multi" paragraph paste!
12971
12972 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12973
12974         * trans_decl.h:
12975         * trans_mgr.[Ch]:
12976         * trans.[Ch]:
12977         * lyxgluelength.C:
12978         * lyxlength.C: remove out-commented code.
12979
12980         * BufferView_pimpl:
12981         * CutAndPaste.C:
12982         * DepTable.C:
12983         * buffer.C:
12984         * chset.C:
12985         * lastfiles.C:
12986         * lyxlex.C:
12987         * lyxlex_pimpl.C:
12988         * lyxserver.C:
12989         * screen.C:
12990         * tabular-old.C:
12991         * tabular.C:
12992         * text.C:
12993         * trans_mgr.C:
12994         * vc-backend.C: change "while(" to "while ("
12995
12996         * lyxlength.[Ch]: add zero function to check if length is zero or
12997         not
12998         * lyxgluelength.C: use it
12999
13000 2001-12-05  Allan Rae  <rae@lyx.org>
13001
13002         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13003         Works for 2.95.3, from what I understand of Garst's reports this should
13004         work for other g++ versions.  We're screwed if the abs(int) definition
13005         changed between bugfix releases of gcc.
13006
13007 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13008
13009         * text.C: fix chapter label offset !
13010
13011 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13012
13013         * lyxtext.h:
13014         * text.C: fix hfill at end of line, clean up
13015
13016 2001-12-04  Juergen Vigna  <jug@sad.it>
13017
13018         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13019         that we force an update of the inset and it's owners if neccessary.
13020
13021 2001-12-03  Juergen Vigna  <jug@sad.it>
13022
13023         * text.C (rowLast): simplified code
13024
13025 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13026
13027         * lyxfunc.C: fix show options on timeout
13028
13029 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * screen.C (topCursorVisible): scroll half a page when the cursor
13032         reached top of bottom of screen
13033
13034 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13035
13036         * minibuffer.C: deactivate on loss of focus
13037
13038 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13039
13040         * vspace.[Ch] (operator!=): add operator.
13041
13042 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13043
13044         * BufferView_pimpl.C: refuse to open an inset when
13045         there's a selection.
13046
13047 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13048
13049         * BufferView_pimpl.C: allow to click on RHS of full row insets
13050
13051 2001-11-30  Juergen Vigna  <jug@sad.it>
13052
13053         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13054         insets for undo reasons.
13055
13056 2001-11-28  André Pönitz <poenitz@gmx.net>
13057
13058         * vspace.[Ch]: cosmetical changes
13059
13060 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13061
13062         * LyXAction.h:
13063         * LyXAction.C:
13064         * lyxfunc.h:
13065         * lyxfunc.C:
13066         * kbmap.h:
13067         * kbmap.C:
13068         * lyxrc.C:
13069         * kbsequence.h:
13070         * kbsequence.C: part re-write of old kb code
13071
13072         * Painter.C:
13073         * WorkArea.C: remove Lgb_bug_find_hack
13074
13075 2001-11-30  José Matos <jamatos@fep.up.pt>
13076
13077         * buffer.C (makeDocBookFile): add a comment to point a hack.
13078         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13079         Fixed a double write of labels.
13080
13081 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13082
13083         * LaTeX.C:
13084         * LaTeX.h Fixed bug in LaTeX class where it would not
13085         re-run latex if no depfiles were changed, but the .dvi was removed.
13086
13087 2001-11-28  André Pönitz <poenitz@gmx.net>
13088
13089         * all the files from the change on 2001/11/26:
13090         use lyx::layout_type instead of LyXTextClass::size_type
13091         use lyx::textclass_type instead of LyXTextClassList::size_type
13092
13093 2001-11-29  Juergen Vigna  <jug@sad.it>
13094
13095         * text.C: added support for paragraph::isFreeSpacing()
13096
13097         * buffer.C: same as above
13098
13099         * paragraph.h: inserted isFreeSpacing() function to enable
13100         FreeSpacing inside InsetERT.
13101
13102         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13103         of the paragraph's in the cut/copy buffer to 0!
13104
13105         * text2.C (removeRow): remove the assert as it can!
13106
13107         * lyxtext.h: added helper function firstRow returning firstrow and
13108         made firstrow private again.
13109
13110         * BufferView2.C (lockInset): don't relock if we're already locked!
13111
13112         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13113         the only paragraph.
13114         (removeRow): added Assert::(firstrow)
13115
13116         * debug.C: forgot to add INSETTEXT here.
13117
13118 2001-11-28  Juergen Vigna  <jug@sad.it>
13119
13120         * sp_spell.C (initialize): changed error text to more general
13121         spellchecker command use (not only ispell!)
13122
13123         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13124
13125         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13126
13127 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13128
13129         * vspace.C: initialise lyxgluelength on failure
13130
13131 2001-11-28  Allan Rae  <rae@lyx.org>
13132
13133         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13134         declaration & definition that looks like a function declaration.
13135
13136 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13137
13138         * BufferView2.C (copy):
13139         (copyEnvironment): do not clear the selection when doing a copy.
13140
13141         * text.C (paintFirstRow): compilation fix
13142
13143 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13144
13145         * tabular.C (Latex): correct line count when writing latex.
13146
13147 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13148
13149         * paragraph_pimpl.h:
13150         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13151           bug a bit
13152
13153 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13154
13155         * text.C:
13156         * LColor.h:
13157         * LColor.C: change vfillline->added_space
13158
13159         * text.C: add markers and text for added space
13160
13161         * vspace.C: fix comment
13162
13163 2001-11-28  André Pönitz <poenitz@gmx.net>
13164
13165         * paragraph.C: whitespace changes
13166         * all the other files from the change on 2001/11/26:
13167         change *::pos_type into lyx::pos_type
13168
13169 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13170
13171         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13172         language of the document when inserting error insets.
13173
13174 2001-11-26  André Pönitz <poenitz@gmx.net>
13175
13176         * BufferView_pimpl.[Ch]:
13177         *       CutAndPaste.C:
13178         * buffer.[Ch]:
13179         * lyxcursor.[Ch]:
13180         * lyxfind.C:
13181         * lyxfunc.C:
13182         * lyxrow.[Ch]:
13183         * paragraph.[Ch]:
13184         * paragraph_pimpl.[Ch]:
13185         * sp_spell.C:
13186         * text.C:
13187         * text2.C: reduce header dependencies, introduce type for positions
13188
13189 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13190
13191         * <various>: change to use Alert.h
13192
13193 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13194
13195         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13196         when encountering an unknown token.
13197         (readLyXformat2): Show an error message if there were unknown tokens.
13198
13199 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13200
13201         * BufferView2.C:
13202         * BufferView_pimpl.C:
13203         * buffer.C:
13204         * paragraph.h:
13205         * text.C:
13206         * text2.C: use par->isInset()
13207
13208 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13209
13210         * paragraph_pimpl.h:
13211         * paragraph_pimpl.C: cleanup
13212
13213 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13214
13215         * text2.C (removeRow):
13216         * text.C (setHeightOfRow): remove useless (and costly) call to
13217         getRow.
13218
13219 2001-11-20  Allan Rae  <rae@lyx.org>
13220
13221         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13222         Now need Inset*::checkInsertChar() to return true for appropriate
13223         cases so that the characters in the minibuffer will actually be
13224         inserted.
13225
13226 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13227
13228         * text.C: change the order of the includes.
13229         (workWidth): initialize it at once.
13230         (workWidth): make maxw unsigned
13231         (setHeightOfRow): remove unused variable (inset)
13232         (selectSelectedWord): remove unused variable (inset)
13233         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13234
13235 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13236
13237         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13238         server is not running.
13239         (openConnection):
13240         (closeConnection): add debug info when server is disabled.
13241
13242         * ColorHandler.C (getGCForeground): send debug message to GUI
13243         channel.
13244
13245         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13246
13247         * kbmap.C (bind): modify because return conventions of
13248         kb_sequence::parse have changed.
13249
13250         * kbsequence.C (parse): only ignore spaces and not any stupid
13251         control character. This avoids tests like s[i] <= ' ', which are
13252         guaranteed to fail with 8bit characters and signed chars.
13253         Change return code to string::npos when there have been no error
13254         (0 was a bad idea when error is at first character)
13255
13256 2001-11-14  José Matos  <jamatos@fep.up.pt>
13257
13258         * buffer.h:
13259         * buffer.C (simpleDocBookOnePar): removed unused argument.
13260
13261 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13262
13263         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13264         insets which are part of a word. Paragraph::isLetter takes care of
13265         that now. Use Paragraph::isInset to identify insets.
13266         (selectSelectedWord): do not test for hyphenation break.
13267
13268         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13269         that protected spaces are considered as spaces.
13270
13271         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13272         Inset::isLetter.
13273
13274 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13275
13276         * lyxserver.h:
13277         * lyxserver.C: fix it. and small cleanup.
13278
13279 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13280
13281         * BufferView_pimpl.C: use inline helpers
13282
13283         * LaTeXFeatures.h:
13284         * LaTeXFeatures.C: fix typos
13285
13286         * Spacing.h:
13287         * Spacing.C: move spacing_string into class
13288
13289         * ToolbarDefaults.C: move stuff into namespace anon
13290
13291         * layout.h: update enum
13292
13293         * lyxfunc.C: use better debug
13294
13295         * minibuffer.h: fix typo
13296
13297         * debug.h:
13298         * debug.C:
13299         * WorkArea.C: add and use Debug::WORKAREA
13300
13301         * lyxtext.h:
13302         * text.C:
13303         * text2.C: code re-organisation, inline helpers
13304
13305 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13306
13307         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13308         std::vector.empty().
13309
13310 2001-11-09  Allan Rae  <rae@lyx.org>
13311
13312         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13313         '\n's after tables.  Tabular and ERT inset work now makes this no
13314         longer necessary.
13315
13316 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13317
13318         * minibuffer.h:
13319         * minibuffer.C: fix crash, improve drop-down completion
13320
13321 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13322
13323         * lyxserver.h:
13324         * lyxserver.C: invalidate fd's when doing endPipe()
13325
13326 2001-11-08  José Matos  <jamatos@fep.up.pt>
13327
13328         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13329         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13330
13331         * paragraph.h:
13332         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13333
13334 2001-11-07  José Matos  <jamatos@fep.up.pt>
13335
13336         * buffer.h:
13337         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13338         const qualifier.
13339
13340         * buffer.C (sgmlOpenTag):
13341         * buffer.C (sgmlCloseTag): removed debug info.
13342
13343         * buffer.h (sgmlOpenTag):
13344         * buffer.h (sgmlCloseTag): made public.
13345
13346 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13347
13348         * buffer.C (saveParamsAsDefaults):
13349         * lyx_cb.C (MenuLayoutSave): remove
13350
13351         * LyXAction.C (init):
13352         * commandtags.h:
13353         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13354
13355 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13356
13357         * buffer.C (setPaperStuff): removed from here...
13358
13359         * bufferparams.C (setPaperStuff): ... and moved there.
13360
13361 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13362
13363         * minibuffer.h:
13364         * minibuffer.C:
13365         * XFormsView.C: add support for drop-down completion
13366
13367 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13368
13369         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13370         commands.
13371
13372 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13373
13374         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13375         disabled.
13376
13377 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13378
13379         * lyx_main.C: change ref to known bugs
13380
13381 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13382
13383         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13384         to work around older babel problems.
13385
13386 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13387
13388         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13389
13390 2001-10-24  Juergen Vigna  <jug@sad.it>
13391
13392         * tabular-old.C (ReadOld): below variable changes reflected.
13393
13394         * tabular.[Ch]: added ltType struct for longtable header/footer
13395         defines and changed all instances where they are used. Added
13396         future support for double top/bottom rows.
13397
13398 2001-10-24  José Matos  <jamatos@fep.up.pt>
13399
13400         * buffer.h (docbookHandleCaption):
13401         * buffer.C (docbookHandleCaption): removed unused function.
13402         (makeDocBookFile): moved docbook supported version to v4.1.
13403
13404 2001-10-24  José Matos  <jamatos@fep.up.pt>
13405
13406         * tabular.h:
13407         * tabular.C (docbookRow): new function to export docbook code of a row.
13408         (DocBook): now honors the longtable flags.
13409
13410 2001-10-23  José Matos  <jamatos@fep.up.pt>
13411
13412         * LaTeXFeatures.h:
13413         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13414         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13415
13416         * buffer.C (makeLinuxDocFile):
13417         (makeDocBookFile): reworked the preamble, more clean, and with
13418         support for lyx defined entities. Changed the document declaration
13419         to be more XML friendly.
13420
13421         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13422         if we need to output XML that should be done with a filter.
13423
13424 2001-10-22  Juergen Vigna  <jug@sad.it>
13425
13426         * sp_pspell.h (class PSpell): add alive function needed in the
13427         controller to see if the spellchecker could be started.
13428
13429 2001-10-22  Juergen Vigna  <jug@sad.it>
13430
13431         * buffer.C (insertStringAsLines): modify the font for inserting
13432         chars in certain conditions by calling checkInsertChar(font).
13433
13434 2001-10-19  Juergen Vigna  <jug@sad.it>
13435
13436         * text.C (workWidth): use getRow instead of wrong algorithm.
13437         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13438
13439 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13440
13441         * lyxserver.h:
13442         * lyxserver.C:
13443         * lyx_main.h:
13444         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13445
13446 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13447
13448         * text.C (workWidth): do not search for the exact row when
13449         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13450         optimization for big documents.
13451
13452 2001-10-18  Juergen Vigna  <jug@sad.it>
13453
13454         * text.C (workWidth): new function with added Inset * parameter.
13455
13456 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13457
13458         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13459
13460         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13461         change return type of getColumnNearX.
13462
13463
13464         * text.C (changeRegionCase): use uppercase/lowercase instead of
13465         toupper/tolower.
13466         (leftMargin):
13467         (rightMargin): simplify code by factoring out the uses of
13468         textclasslist.
13469         (labelFill):
13470         (numberOfHfills):
13471         (setHeightOfRow):
13472         (appendParagraph): use Paragraph::size_type
13473
13474 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13475
13476         * vspace.C (asLatexString): add a missing break
13477
13478 2001-10-15  Herbert Voss  <voss@perce.de>
13479
13480         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13481
13482 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13483
13484         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13485         is not available.
13486
13487 2001-10-10  André Pönitz <poenitz@gmx.net>
13488
13489         * lyxfunc.C: removed greek_kb_flag.
13490
13491 2001-10-10  Herbert Voss  <voss@perce.de>
13492
13493         * lyx_main.C: delete global string help_lyxdir.
13494
13495 2001-10-09  Herbert Voss  <voss@perce.de>
13496
13497         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13498
13499         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13500
13501         * lyx_main.C: added global string help_lyxdir.
13502
13503         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13504
13505 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13506
13507         * lyxrc.C (set_font_norm_type): support iso8859-4
13508
13509 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13510
13511         * LaTeX.C (deplog): add another regex for MikTeX
13512
13513 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13514
13515         * lyxrc.C (set_font_norm_type): support iso8859-3
13516
13517 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13518
13519         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13520
13521         * LaTeXFeatures.C: remove special case of french and index
13522
13523         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13524         before \begin{document}). This solves several incompatibilities.
13525
13526 2001-10-03  Garst Reese  <reese@isn.net>
13527
13528         * lyx_cb.C: change CheckTex error msg.
13529
13530 2001-10-03  José Matos  <jamatos@fep.up.pt>
13531
13532         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13533
13534 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13535
13536         * .cvsignore: update
13537
13538         * lyx_main.C (commandLineVersionInfo): use new style version info.
13539
13540         * buffer.C (writeFile):
13541         (makeLaTeXFile):
13542         (makeLinuxDocFile):
13543         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13544
13545         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13546
13547         * version.h: update to use stuff in version.C
13548
13549         * version.C.in: new file. Contains version information determined
13550         at compile time. This is a merging of version.h and
13551         version_info.h.in.
13552
13553 2001-10-03  Juergen Vigna  <jug@sad.it>
13554
13555         * BufferView_pimpl.C (update): don't change "dirty" status in
13556         updateInset call.
13557
13558 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13559
13560         * WorkArea.C (c-tor): re-position version string slightly.
13561
13562 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13563
13564         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13565         revert to previous code.
13566
13567         WorkArea.[Ch]: (show, destroySplash): methods removed.
13568
13569         WorkArea.C: rework code so that it's an amalgam of the codes before and
13570         after the splash screen was moved to WorkArea.
13571
13572 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13573
13574         * lyxrc.C (read):
13575         * vspace.C (inPixels):
13576         (lyx_advance):
13577         * kbmap.C (bind):
13578         * buffer.C (insertStringAsLines):
13579         (asciiParagraph): fix types to be large enough
13580
13581         * lyxlex_pimpl.h: change member status from short to int
13582
13583         * layout.h: fix type of endlabeltype
13584
13585         * kbmap.C (bind):
13586         * kbsequence.C (parse): change return type to string::size_type
13587
13588         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13589         variable
13590
13591         * Bullet.C (bulletSize):
13592         (bulletEntry): do not use short ints as parameters
13593
13594         * BufferView2.C (insertLyXFile): change a char to an int.
13595
13596         * WorkArea.C (WorkArea): remove unneeded floats in computation
13597
13598 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13599
13600         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13601
13602         * paragraph.C (asString): Do not ignore newline/hfill chars when
13603         copying to the clipboard.
13604
13605 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13606
13607         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13608         after a multi-line inset.
13609
13610 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13611
13612         * paragraph.C (validate): Set NeedLyXFootnoteCode
13613
13614 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13615
13616         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13617         and decrease-error to decrease.
13618
13619 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13620
13621         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13622         it more readable (should be equivalent)
13623
13624 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13625
13626         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13627
13628 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13629
13630         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13631         of a cursor (row, etc.) after a character has been deleted
13632         (deleteEmptyParagraphMechanism): call the method above on _all_
13633         cursors held by the LyXText when a double space has been
13634         detected/deleted.
13635
13636 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13637
13638         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13639         pixmap.
13640         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13641
13642         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13643         background. Use greyOut() and the new show() methods to toggle between
13644         the foreground and background. Add code to remove the splash after
13645         its initial showing.
13646
13647         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13648         (create_forms): no longer call Dialogs::showSplash.
13649
13650 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * .cvsignore: add version_info.h
13653
13654 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13655
13656         * version_info.h.in: new file
13657
13658         * Makefile.am: add version_info.h.in
13659
13660         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13661         version_info.h instead of VERSION_INFO
13662
13663 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13666         The ERT inset now returns string().
13667
13668 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13669
13670         * lyxtext.h, text.C (selectNextWord): renamed as
13671         selectNextWordToSpellcheck.
13672
13673         * text.C (selectNextWordToSpellcheck): Modified to not select
13674         words inside an ERT inset.
13675
13676 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * lyx_cb.C (MenuLayoutSave): change a bit the question
13679
13680         * sp_base.h: include <sys/types.h>
13681
13682 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13683
13684         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13685
13686 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13687
13688         * several files: fix typos in user-visible strings
13689
13690 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13691
13692         * text2.C (pasteSelection): do not set the selection, since it
13693         will be cleared later. Actually, the intent was to fix the way the
13694         selection was set, but I figured rmoving the code was just as good.
13695
13696 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13697
13698         * FontLoader.C (available): Check if font is available without
13699         loading the font.
13700
13701 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13702
13703         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13704
13705 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13706
13707         * lyxrc.[Ch]: added display_graphics variable and associated code.
13708
13709 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13710
13711         * bufferparams.C (hasClassDefaults): new method. Returns true if
13712         the buffer parameters correspond to known class defaults
13713
13714 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13715
13716         * XFormsView.C (show): set minimum size to the main window.
13717
13718 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13719
13720         * text2.C (copySelection):
13721         (cutSelection):
13722         * lyxfind.C (LyXReplace):
13723         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13724         LyXText::selectionAsString.
13725
13726         * paragraph.C (asString): add "label" argument to the second form
13727
13728         * text2.C (selectionAsString): add "label" argument and pass it to
13729         Paragraph::asString.
13730
13731 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * lyx_main.C (commandLineHelp): remove version information
13734
13735 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13736
13737         * lyx_main.C: add -version commandline option
13738
13739 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13740
13741         * paragraph.h: make the optional constructor arg required instead.
13742         some modifications to other files because of this.
13743
13744         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13745
13746         * lyxserver.C (C_LyXComm_callback): make it static
13747
13748         * lyx_main.C (error_handler): make it static
13749
13750         * lyx_gui.C (LyX_XErrHandler): make it static
13751
13752         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13753
13754         * WorkArea.C: make the extern "C" methods static.
13755
13756         * Makefile.am (lyx_LDADD): simplify
13757
13758 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13759
13760         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13761         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13762
13763         * LyXAction.C (init):
13764         * lyxfunc.C (dispatch): associated code removal.
13765
13766 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13767
13768         * lyxfont.h (isSymbolFont): shut off warning
13769
13770         * text.C (setHeightOfRow):
13771         (getVisibleRow): fix crash with empty paragraphs which have a
13772         bottom line
13773
13774 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13775
13776         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13777         code.
13778
13779 2001-09-04  José Matos  <jamatos@fep.up.pt>
13780         * buffer.C
13781         * buffer.h
13782         * tabular.C (docbook): rename docBook method to docbook.
13783
13784 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13785
13786         * Makefile.am: add dependencies to main.o.
13787
13788 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13789
13790         * FontLoader.C (available): Return false if !lyxrc.use_gui
13791
13792 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13793
13794         * FontInfo.C (query):
13795         * converter.C (view):
13796         * importer.C (Import):
13797         * exporter.C (Export): Can not -> cannot.
13798
13799 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13800
13801         * BufferView_pimpl.C: allow to create index inset even if
13802           string is empty
13803
13804 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13805
13806         * buffer.C (getLists): replace boost::tie code with an explicit pair
13807         as boost::tie can break some compilers.
13808
13809         * iterators.h: Added a std:: declaration to the return type of
13810         ParIterator::size.
13811
13812 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13813
13814         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13815           case.
13816
13817 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13818
13819         * iterators.[Ch]: New files. Provide paragraph iterators.
13820
13821         * buffer.C (changeLanguage): Use paragraph iterators.
13822         (isMultiLingual): ditto
13823
13824         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13825
13826 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13827
13828         * FontLoader.C: Support for cmr font.
13829
13830 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13831
13832         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13833         (available): New method.
13834
13835         * FontInfo.C (getFontname): Use scalable fonts even when
13836         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13837         found.
13838
13839 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13840
13841         * converter.C (Formats::view): reverted! Incorrect fix.
13842
13843 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13844
13845         * converter.C (Formats::view): only output the -paper option
13846         if the dvi viewer is xdvi, thereby fixing bug #233429.
13847
13848 2001-08-23  Herbert Voss  <voss@perce>
13849
13850         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13851
13852 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13853
13854         * Spacing.h (Spacing): Set space to Default on in the default
13855         constructor.
13856
13857 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13858
13859         * vc-backend.h (RCS::versionString): add RCS to version
13860         (CVS::versionString): add CVS to version
13861
13862         * vc-backend.C (scanMaster): do not add CVS to version.
13863         (scanMaster): do not add RCS to version
13864
13865         * lyxvc.C (versionString): new method
13866
13867         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13868
13869 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13870
13871         * Spacing.C (set): initialize fval
13872
13873 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13874
13875         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13876         " or \.
13877
13878 2001-08-16  Juergen Vigna  <jug@sad.it>
13879
13880         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13881
13882 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * BufferView_pimpl.C:
13885         * figureForm.C:
13886         * lyxtext.h:
13887         * text2.C: setParagraph takes linespacing now
13888
13889 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13890
13891         * LyxAction.C: add internal LFUN_CITATION_INSERT
13892
13893         * LyXView.C: actually apply fix
13894
13895         * bufferlist.C: fix open non-existent file
13896
13897         * lyxfind.C: fix indentation
13898
13899         * lyxfunc.C: remove unneeded assert, fix typo
13900
13901 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13902
13903         * MenuBackend.C: use "Floatname List"
13904
13905 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13906
13907         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13908         when converting LaTeX layout to insetERT.
13909         Generate a non-collapsed float when reading old float
13910
13911 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13912
13913         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13914         ERT insets.
13915
13916 2001-08-13  Juergen Vigna  <jug@sad.it>
13917
13918         * text.C (fill): return 0 instead of 20 as this seems to be the more
13919         correct value.
13920
13921 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13922
13923         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13924         lyxrc.font_norm.
13925
13926 2001-08-13  Juergen Vigna  <jug@sad.it>
13927
13928         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13929         casesensitive off.
13930         (SearchBackward): comment out the unlocking of the inset_owner this
13931         should not be needed!
13932
13933 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13934
13935         * Many files: Remove inherit_language, and add latex_language
13936
13937         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13938         collapsible insets.
13939
13940 2001-08-10  Juergen Vigna  <jug@sad.it>
13941
13942         * text.C (prepareToPrint): fixed hfill-width in draw!
13943
13944         * BufferView2.C (selectLastWord): save the selection cursor as this
13945         now is cleared in the function LyXText::clearSelection!
13946
13947 2001-08-08  Juergen Vigna  <jug@sad.it>
13948
13949         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13950         BACKSPACE type functions.
13951
13952         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13953         is only cutted from the document but not put in the cut-buffer, where
13954         still the old stuff should be.
13955
13956         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13957
13958         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13959
13960         * tabular.C (SetWidthOfCell): fixed special case where the width
13961         was not updated!
13962         (LeftLine): handle '|' in align_special.
13963         (RightLine): ditto
13964         (LeftAlreadyDrawed): ditto
13965         (SetWidthOfCell): ditto
13966
13967 2001-08-07  Juergen Vigna  <jug@sad.it>
13968
13969         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13970
13971 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13972
13973         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13974         * lyxlex.[hC]: ditto
13975
13976 2001-08-06  Juergen Vigna  <jug@sad.it>
13977
13978         * text.C (getVisibleRow): fix up row clearing a bit.
13979
13980 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13981
13982         * minibuffer.C: make sure the X server sees the changes in the input.
13983
13984 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13985
13986         * paragraph.C (getFont): split into...
13987         (getLabelFont): this
13988         (getLayoutFont): and this
13989         * paragraph_pimpl.C (realizeFont): calling this
13990
13991         * text2.C (getFont): split into...
13992         (getLayoutFont): this
13993         (getLabelFont): and this
13994         (realizeFont): all three calling this
13995
13996         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13997         files where used.
13998
13999 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14000
14001         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14002
14003 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14004
14005         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14006         layouts from the Quote inset insertion.
14007
14008 2001-08-03  Juergen Vigna  <jug@sad.it>
14009
14010         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14011
14012         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14013         only if status not is already CHANGED_IN_DRAW (second level).
14014
14015         * text.C (draw): don't set the need_break_row when inside an
14016         InsetText LyXText.
14017
14018 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14019
14020         * buffer.C (parseSingleLyXformat2Token): handle more latex
14021         conversion cases.
14022
14023         * bufferview_funcs.[hC]: change function names to
14024         begin with small char, adjust other files.
14025
14026 2001-08-02  André Pönitz <poenitz@gmx.net>
14027
14028         * lyxfunc.C:
14029         BufferView_pimpl.C: remove broken special code for math-greek
14030
14031 2001-08-02  Juergen Vigna  <jug@sad.it>
14032
14033         * BufferView_pimpl.C (update): redone this function so that we
14034         update the text again if there was a CHANGE_IN_DRAW.
14035
14036         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14037         (drawFromTo): added a new internal bool which is used by draw() and
14038         redraw() function.
14039         (general): some cursor drawing problems fixed.
14040
14041 2001-08-01  Juergen Vigna  <jug@sad.it>
14042
14043         * lyxfind.C (LyXFind): fixed
14044         (SearchForward): ditto
14045         (SearchBackward): ditto
14046
14047         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14048         spurius drawing of the cursor in the main area.
14049
14050         * text2.C (status): small fix which could lead to a segfault!
14051         (clearSelection): remove unneeded BufferView param.
14052
14053 2001-08-01  André Pönitz <poenitz@gmx.net>
14054
14055         * lyxfunc.C: small change due to changed mathed interface
14056
14057 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14058
14059         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14060
14061 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14062
14063         * lyxfunc.c: fail gracefully if file doesn't exist
14064
14065         * LyXSendto.C:
14066         * buffer.C:
14067         * lyxfunc.C:
14068         * BufferView_pimpl.C: IsDirWriteable() proto changed
14069
14070         * LyXView.C: fix updateWindowTitle() to store the last title
14071
14072 2001-07-31  Juergen Vigna  <jug@sad.it>
14073
14074         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14075         the font (wrong since using of Paragraph::highestFontInRange).
14076
14077         * paragraph.C (highestFontInRange): added a default_size parameter.
14078
14079         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14080         (setHeightOfRow): reformat
14081
14082 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14083
14084         * converter.[hC] + affected files: move to (inital-char)lowercase
14085         function names.
14086
14087         * ParagraphParameters.C (ParagraphParameters): remove commented code
14088
14089         * PainterBase.[Ch]: remove commented code
14090
14091         * LaTeXFeatures.h: add "bool floats" for float.sty
14092
14093         * LaTeXFeatures.C (LaTeXFeatures): init floats
14094         (require): handle float
14095         (getPackages): do it with floats
14096
14097 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14098
14099         * BufferView_pimpl.C (Dispatch): improve handling of
14100         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14101
14102         * commandtags.h: #include lyxfont.h here temporarily to avoid
14103         keybinding bug.
14104
14105         * bufferlist.h: include LString.h here.
14106
14107 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14108
14109         * text2.C (getStringToIndex): new method.
14110
14111 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14112
14113         * *: Reduced header file dependencies all over.
14114
14115 2001-07-30  Baruch Even  <baruch@lyx.org>
14116
14117         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14118
14119 2001-07-29  Baruch Even  <baruch@lyx.org>
14120
14121         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14122
14123 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14124
14125         * ParameterStruct.h (endif): add a default constructor to make
14126         sure that all variables is initialized.
14127
14128         * ParagraphParameters.C (ParagraphParameters): adjust
14129
14130 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14131
14132         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14133         index; also, check that there is something to index, and that it
14134         does not span over several paragraphs.
14135         (doubleClick): use WHOLE_WORD_STRICT for double click.
14136
14137         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14138
14139         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14140         scheme.
14141
14142 2001-07-26  Baruch Even  <baruch@lyx.org>
14143
14144         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14145         an InsetFig figure, backwards compatible reading of old figure code.
14146
14147 2001-07-27  Juergen Vigna  <jug@sad.it>
14148
14149         * text2.C: font.realize function adaption.
14150
14151         * text.C (draw): add a warnings lyxerr text if needed.
14152
14153         * layout.C: font.realize function adaption.
14154
14155         * language.C: add inherit_language and implement it's handlings
14156
14157         * bufferview_funcs.C (StyleReset): remove language parameter from
14158         font creation (should be language_inherit now).
14159
14160         * bufferparams.C (writeFile): handle ignore_language.
14161
14162         * paragraph.C (getFontSettings): the language has to be resolved
14163         otherwise we have problems in LyXFont!
14164
14165         * lyxfont.C (lyxWriteChanges): added document_language parameter
14166         (update): removed unneeded language parameter
14167
14168         * paragraph.C (validate): fixed wrong output of color-package when
14169         using interface colors for certain fonts in certain environments,
14170         which should not seen as that on the final output.
14171
14172 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14173
14174         * BufferView_pimpl.C:
14175         * Thesaurus.h:
14176         * Thesaurus.C:
14177         * Makefile.am:
14178         * commandtags.h:
14179         * LyXAction.C: add thesaurus support
14180
14181         * lyxfind.h:
14182         * lyxfind.C: add "once" parameter, for thesaurus, to not
14183           move to the next match
14184
14185 2001-07-26  Juergen Vigna  <jug@sad.it>
14186
14187         * lyxfont.C (realize): honor ignore_language too!
14188         (resolved): ditto.
14189
14190         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14191
14192         * text.C (draw): one place more for ignore_language to not draw
14193         itself!
14194
14195 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14196
14197         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14198
14199 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14200
14201         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14202         the minipage conversion problem.
14203
14204 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14207         insert an inset.
14208
14209 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14210
14211         * BufferView.h: don't forward declare WorkArea
14212
14213         * BufferView.C: don't include WorkArea.h
14214
14215 2001-07-25  André Pönitz <poenitz@gmx.net>
14216
14217         * commandtags.h:
14218         * LyXAction.C:
14219         * lyxfunc.C:  new LFUN 'math-space'
14220
14221         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14222
14223 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14224
14225         * text2.C (toggleInset): call open/close
14226
14227 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14228
14229         * lyxfunc.C (dispatch): add debug for the disabled case
14230
14231         * font.C (buttonText): make similar to rectText
14232
14233         * buffer.C (readInset): comment out parsing of insetlist and
14234         insttheorem
14235
14236         * PainterBase.C (rectText): small correction
14237
14238         * BufferView_pimpl.C: comment out insettheorem and insetlist
14239         * LyXAction.C: ditto
14240         * commandtags.h: ditto
14241
14242 2001-07-24  Juergen Vigna  <jug@sad.it>
14243
14244         * text.C (draw): honor the ignore_language.
14245
14246         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14247
14248 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14249
14250         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14251         char inset.
14252
14253 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14254
14255         * lyxtext.h: remove unused (and unimplemented) methods
14256
14257 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14258
14259         * text.C (getVisibleRow): honor background color
14260
14261         * PainterBase.h:
14262         * Painter.h: remove default color argument for fillRectangle
14263
14264         * text.C (backgroundColor): new method
14265
14266 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14267
14268         * text.C (getVisibleRow): adjust
14269
14270         * font.[Ch] (rectText): new method, metrics
14271         (buttonText): new method, metrics
14272
14273         * PainterBase.[hC]: make rectText and buttonText always draw and take
14274         fewer paramteres.
14275
14276 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14277
14278         * ToolbarDefaults.C (read):
14279         * MenuBackend.C (read): allow escaping in all strings
14280
14281         * BufferView_pimpl.C (insertAndEditInset): new method.
14282         (Dispatch): use insertAndEditInset whenever appropriate.
14283
14284         * BufferView_pimpl.C (insertNote): removed
14285
14286         * BufferView_pimpl.C (smartQuote): new method, moved from
14287         BufferView; if an insetquote cannot be inserted, insert a '"'
14288         character instead.
14289
14290         * BufferView2.C: remove insertCorrectQuote();
14291
14292         * lyxfunc.C (getStatus): Add support for all remaingin
14293         inset-insert lfuns.
14294
14295         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14296
14297         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14298         command (necessary to pass " as parameter of self-insert.
14299
14300         * text.C (selectWordWhenUnderCursor):
14301         (selectWord): add word_location parameter
14302         (selectWordWhenUnderCursor): same + remove special code for word
14303         boundary.
14304         (selectNextWord): use kind() to guess type of insetspecialchar,
14305         not latex().
14306
14307         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14308         (insertErtContents): create ert insets as collapsed.
14309         (readInset): better compatibility code for Info inset.
14310
14311 2001-07-20  Juergen Vigna  <jug@sad.it>
14312
14313         * lyxfunc.C (dispatch): use always LyXFind now!
14314
14315         * text2.C (init): add a reinit flag so that the LyXText can be
14316         reinited instead of deleted and reallocated (used in InsetText).
14317
14318         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14319
14320         * text.C: ditto
14321
14322         * text2.C: ditto
14323
14324 2001-07-18  Juergen Vigna  <jug@sad.it>
14325
14326         * text.C (selectNextWord): handle insets inside inset by calling
14327         always the bv->text functions so that we can go up the_locking_inset!
14328
14329         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14330         in strange locations when inside an inset!
14331
14332         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14333         handling to include insets.
14334
14335         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14336
14337 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14338
14339         * LyXAction.C (init):
14340         * commandtags.h:
14341         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14342         LIGATURE_BREAK, since the name is so stupid.
14343
14344 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14345
14346         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14347         InsetInfos.
14348
14349         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14350
14351         * sp_form.[Ch]: remove.
14352
14353         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14354
14355         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14356         InsetInfo.
14357
14358         * src/buffer.C (readInset): ditto.
14359
14360 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14361
14362         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14363         menuSeparator(), endOfSentenceDot(), ldots() and
14364         hyphenationPoint(), which are therefore removed.
14365         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14366
14367         * LyXAction.C (init):
14368         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14369
14370         * paragraph.C (getWord): removed.
14371
14372         * BufferView_pimpl.C (Dispatch): use last word or selection for
14373         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14374
14375         * lyx_main.C (queryUserLyXDir): do not ask before creating
14376         user_dir, except if it has been named explicitely.
14377
14378 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14379
14380         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14381         a document of zero size.
14382
14383 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14384
14385         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14386         approriately in the c-tor and in require().
14387         (getPackages): output the appropriate LaTeX for natbib support.
14388
14389         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14390         variables "use_natbib" and "use_numerical_citations" when reading the
14391         LyX file.
14392         (readInset): read the various natbib cite commands.
14393         (validate): white-space change.
14394
14395         * bufferparams.[Ch]: new variables "bool use_natbib" and
14396         "bool use_numerical_citations".
14397         (writeFile): output them in the LyX file.
14398
14399 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14400
14401         * lyxfunc.C (getStatus): add support for all the inset insertion
14402         commands.
14403
14404         * text2.C (insertInset):
14405         * paragraph.C (insetAllowed):
14406         * BufferView_pimpl.C (insertInset): update to take in account the
14407         renaming of insertInsetAllowed
14408
14409         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14410
14411         * text2.C (getInset): new method. returns inset at cursor position.
14412
14413         * BufferView_pimpl.C (Dispatch): changes because of this.
14414
14415         * LyXAction.C (init): rename open-stuff to inset-toggle.
14416
14417         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14418
14419         * text2.C (toggleInset): renamed from openStuff; use
14420         Inset::open().
14421
14422 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14423
14424         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14425
14426         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14427
14428 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14429
14430         * buffer.C (readLyXformat2): Add filename to the error dialog
14431
14432 2001-07-18  Juergen Vigna  <jug@sad.it>
14433
14434         * tabular.C (GetCellNumber): put an assert here instead of the check!
14435
14436 2001-07-17  Juergen Vigna  <jug@sad.it>
14437
14438         * BufferView_pimpl.C (toggleSelection): adapted too.
14439
14440         * text.C (selectNextWord): adapted for use with insets.
14441         (selectSelectedWord): ditto
14442
14443 2001-07-17  Juergen Vigna  <jug@sad.it>
14444
14445         * sp_spell.C (PSpell): fix initialitation order.
14446
14447 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14448
14449         * paragraph.C: spacing
14450
14451 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14452
14453         * sp_spell.C: repair language selection for pspell
14454
14455 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14456
14457         * lyxfunc.h: change more methods to begin with lower char.
14458
14459 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14460
14461         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14462         for unknown layouts.
14463
14464 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14465
14466         * buffer.C (readLyXformat2): Generate an error dialog if there are
14467         unknown layouts.
14468
14469 2001-07-16  Juergen Vigna  <jug@sad.it>
14470
14471         * sp_spell.C: always compile ISpell part.
14472
14473         * lyxrc.C: added use_pspell entry and it's handling.
14474
14475 2001-07-13  Juergen Vigna  <jug@sad.it>
14476
14477         * sp_spell.C: removed double includes.
14478
14479 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14480
14481         Consistent use of Lsstream.h:
14482         * Lsstream.h: added using std::stringstream for consistencies sake.
14483
14484         * buffer.C: removed using std::stringstream
14485
14486         * lyxfont.C (stateText):
14487         * paragraph.C (asString):
14488         * text.C (selectNextWord, selectSelectedWord):
14489         * text2.C (setCounter):
14490         * vspace.C (asString, asLatexString):
14491         std::ostringstream -> ostringstream.
14492
14493 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14494
14495         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14496         * commandtags.h: add LFUN_HELP_ABOUTLYX
14497         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14498
14499 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14500
14501         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14502         cursorToggle()
14503         * lyx_gui_misc.C: remove spellchecker
14504         * lyxfunc.C: showSpellchecker
14505         * sp_base.h: added
14506         * sp_ispell.h: added
14507         * sp_pspell.h: added
14508         * sp_spell.C: added
14509         * sp_form.[Ch]: removed
14510         * spellchecker.[Ch]: removed
14511
14512 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14513
14514         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14515         is set.
14516         (simpleTeXSpecialChars): Simply print the input character without
14517         any special translation if pass_thru is set.
14518
14519         * layout.h: Added bool pass_thru to layout class for being able to
14520         implement pass through of a paragraph for Literate Programming.
14521
14522         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14523         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14524         * layout.C (Read): add "passthru" to list of layout tags and add
14525         code to set the pass_thru boolean when it is read.
14526
14527 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14528
14529         * trans_decl.h: remove allowed from KmodInfo
14530
14531         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14532         remove allowed code
14533         (Load): adjust
14534
14535         * paragraph_pimpl.C (erase): use boost::prior
14536
14537         * Painter.C (text): use data() instead of c_str() when length is
14538         also provided.
14539         * WorkArea.C (putClipboard): ditto
14540         * font.h (width): ditto
14541
14542         * BufferView2.C: use it-> instead of (*it). for iterators
14543         * texrow.C: ditto
14544         * paragraph_pimpl.C: ditto
14545         * paragraph.C: ditto
14546         * minibuffer.C: ditto
14547         * language.C: ditto
14548         * kbmap.C: ditto
14549         * encoding.C: ditto
14550         * counters.C: ditto
14551         * converter.C: ditto
14552         * chset.C: ditto
14553         * Variables.C: ditto
14554         * TextCache.C: ditto
14555         * MenuBackend.C: ditto
14556         * LyXAction.C: ditto
14557         * LColor.C: ditto
14558         * FloatList.C: ditto
14559         * DepTable.C: ditto
14560         * ColorHandler.C (LyXColorHandler): ditto
14561
14562 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14563
14564         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14565
14566         * text2.C (openStuff): reintroduce this method (which had been
14567         nuked in NEW_INSETS frenzy).
14568
14569         * lyxfunc.C (Dispatch): when an action has not been handled, use
14570         its name in the error message, not its number.
14571
14572         * paragraph.C (inInset): change method name to begin with lowercase.
14573
14574         * undo_funcs.C:
14575         * text2.C: updates because of this.
14576
14577 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14578
14579         * ToolbarDefaults.C (add): add spaces in error message
14580
14581 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14582
14583         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14584         (readLyXformat2): rename return_par to first_par, use lyxlex's
14585         pushToken and remove the manual push handling.
14586         (parseSingleLyXformat2Token): add another ert comp. variable:
14587         in_tabular, rename return_par to first_par. handle newlines better
14588
14589 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14590
14591         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14592
14593 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14594
14595         * text2.C (getParFromID): removed
14596
14597         * buffer.C (getParFromID): new method moved form lyxtext.
14598         * BufferView2.C (insertErrors): adjust
14599         (setCursorFromRow): adjust
14600         * BufferView_pimpl.C (restorePosition): adjust
14601         * lyxfunc.C (Dispatch): adjust
14602         * undo_funcs.C (textUndo): adjust
14603         (textRedo): adjust
14604         (textHandleUndo): adjust
14605         (textHandleUndo): adjust
14606
14607 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14608
14609         * buffer.C: up' the LYX_FORMAT
14610
14611         * lyxfont.h: turn NO_LATEX on as default
14612
14613         * buffer.C (insertErtContents): new methods of tex style compability.
14614         (parseSingleLyXformat2Token): use it several places.
14615         * tabular.C (OldFormatRead): and here
14616
14617 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14618
14619         * text2.C: remove some commented code.
14620         reindent file.
14621
14622         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14623         * trans.C: changes because of the above.
14624
14625 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14626
14627         * text2.C (setCounter): Fix counters bug with bibliography layout.
14628
14629 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14630
14631         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14632         own member functions
14633         (simpleTeXSpecialChars): ditto
14634
14635 2001-07-06  Juergen Vigna  <jug@sad.it>
14636
14637         * a lot of files: changed the access to LyXText::status and the
14638         call of undo-functions.
14639
14640         * undo.[Ch]: added a inset_id to the undo informations.
14641
14642         * undo_funcs.[Ch]: added and moved here all undo functions.
14643
14644         * lyxtext.h: give the status enum a weight, made status_ a private
14645         variable and made accessor functions for it, removed the whole bunch
14646         of undo-functions as they are now in their own file, make some
14647         functions publically available. Added function ownerParagraph with
14648         int parameter.
14649
14650         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14651         made InInset() a const function, added getParFromID() function.
14652
14653         * buffer.[Ch]: added const version for inset_iterator functions,
14654         added getInsetFromID() function.
14655
14656         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14657         changed undo functions for new version.
14658
14659 2001-07-05  Juergen Vigna  <jug@sad.it>
14660
14661         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14662         unknow mechanism does not call the proper constructor but only this
14663         one also if I request the other!?
14664
14665 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14666
14667         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14668
14669         * text2.C (LyXText): use initialization lists.
14670
14671         * lyxtext.h (Selection): initialize set_ and mark_
14672         (init): remove method
14673
14674 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14675
14676         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14677
14678 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14679
14680         * screen.[Ch]: change method names to begin with lowercase
14681
14682         * BufferView_pimpl.C (updateScrollbar): simplify further and
14683         hopefully make it a bit faster.
14684
14685 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14686
14687         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14688         calling directly xforms functions.
14689
14690         * Painter.C (Painter):
14691         * lyx_cb.C (MenuWrite):
14692         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14693         fl_display.
14694
14695         * lyx_gui.C: remove bogus guiruntime extern declaration.
14696
14697 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14698
14699         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14700         in NEW_INSETS
14701         (redoDrawingOfParagraph): ditto
14702         (redoParagraphs): ditto
14703         (cutSelection): don't create a object for CutAndPaste use the
14704         static method directly
14705         (pasteSelection): ditto
14706
14707         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14708         LyXview (+ rename)
14709
14710 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14711
14712         * modifications to some other files because of this.
14713
14714         * Makefile.am (lyx_SOURCES): add XFormsView
14715
14716         * XFormsView.[Ch]: new files
14717
14718         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14719         the main window. Move the gui dependent stuff to XFormsView
14720
14721 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14722
14723         * tabular.C (GetCellInset): update cur_cell also in the row/col
14724         version of this function.
14725
14726         * lyxfunc.C: no need to include figure_form.h here.
14727
14728         * FontLoader.h:
14729         * lyxfunc.h:
14730         * lyxscreen.h:
14731         * text2.C:
14732         * lyxvc.C: no need to include forms.h here.
14733
14734 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14735
14736         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14737
14738         * lyxfunc.C (Dispatch):
14739         * Spacing.C (set):
14740         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14741         constructor argument.
14742
14743 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14744
14745         * paragraph.C (Paragraph): dont't clear, and just set layout.
14746         (makeSameLayout): use params's copy contructor.
14747
14748         * ParagraphParameters.[Ch] (makeSame): delete method
14749
14750 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14751
14752         * Variables.[Ch]: fix indentation, rename set to isSet
14753
14754 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14755
14756         * lyxfunc.C (Dispatch): fix typo
14757
14758 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14759
14760         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14761         upper_bound.
14762
14763         * bufferlist.C: include assert.h for emergencyWrite().
14764
14765 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14766
14767         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14768           give up at last (bug #425202) !
14769
14770 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14771
14772         * lyx_gui_misc.C:
14773         * sp_form.h:
14774         * sp_form.C:
14775         * spellchecker.h:
14776         * spellchecker.C: strip spellchecker options and bring up
14777           preferences tab instead
14778
14779 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14780
14781         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14782         the istringstream constructor
14783
14784 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * paragraph.C (getLayout): fix return value
14787
14788         * paragraph.h: do not declare getLayout as inline.
14789
14790         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14791
14792 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14793
14794         * lyxcursor.h (operator<): new func
14795         (operator>): new func
14796         (operator>=): new func
14797         (operator<=): new func
14798
14799         * text.C (changeCase): use selection.start and selection.end
14800         (changeRegionCase): require from to be <= to. Require par to be a
14801         valid paragraph.
14802
14803         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14804
14805 2001-06-27  Juergen Vigna  <jug@sad.it>
14806
14807         * text.C (cursorLeftOneWord): changed to return the cursor and added
14808         overlay with BufferView * parameter which calls this one.
14809         (getWord): added
14810         (selectWord): use new getWord function.
14811         (changeCase): renamed from changeWordCase as and extended to work
14812         also on selections.
14813
14814         * lyxtext.h: added enum word_location
14815
14816         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14817         changeCase as this operates now also on selections.
14818
14819 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14820
14821         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14822
14823         * many files: send debug output to Debug::INFO instead of
14824         Debug::ANY.
14825
14826         * converter.C (View):
14827         (Convert):
14828         (Move): send debug output to Debug::FILES instead of console.
14829
14830 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14831
14832         * lyxfunc.C (getStatus): use func_status
14833
14834         * func_status.h: new header, describing the results of
14835         LyXFunc::getStatus;
14836
14837         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14838         LFUN_MATH_HALIGN.
14839
14840 2001-06-25  The LyX Project  <jug@sad.it>
14841
14842         * buffer.C (sgmlOpenTag):
14843         (sgmlCloseTag):
14844         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14845
14846 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14847
14848         * text2.C: remove some dead code
14849
14850         * tabular.C (GetCellInset): store the last cell checked (gotten)
14851
14852         * tabular.h: add the helper for the speedup
14853
14854         * lyxtext.h: remove some dead code
14855
14856 2001-06-26  The LyX Project  <Asger>
14857
14858         * paragraph.C: Change export to LaTeX of alignment to
14859         \begin{center} and family for better roundtrip work with reLyX.
14860
14861         * Tune the math drawing a bit.
14862
14863 2001-06-25  The LyX Project  <Asger>
14864
14865         * LColor.C (LColor): New color for math background. New color
14866         for buttons.
14867
14868 2001-06-25  The LyX Project  <jug@sad.it>
14869
14870         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14871
14872         * lyxfunc.C (Open):
14873         * bufferlist.C (newFile): do not restrict to files ending with
14874         .lyx
14875
14876         * BufferView_pimpl.C (MenuInsertLyXFile):
14877
14878 2001-06-24  The LyX Project  <jug@sad.it>
14879
14880         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14881         of compare_no_case
14882
14883 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14884
14885         * lyxtext.h: rename most methods to begin with a small char.
14886         Lots of changes because of this.
14887
14888         * paragraph.C (Paragraph): do not call fitToSize
14889         (erase): call Pimpl::erase
14890         (insertChar): call Pimpl::insertChar
14891         (insertInset): call Pipl::insertInset
14892         (breakParagraph): do not call fitToSize
14893         (breakParagraphConservative): do not call fitToSize
14894         (fitToSize): remove method
14895
14896         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14897
14898 2001-06-24  The LyX Project  <Asger>
14899
14900         * Fix Qt compilation^2
14901
14902 2001-06-24  The LyX Project  <jug@sad.it>
14903
14904         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14905         depthHook(getDepth()-1).
14906
14907         * paragraph.h:
14908         * ParagraphParameters.h:
14909         * ParameterStruct.h: change type of depth to unsigned int ==
14910         depth_type. Many adaptations to other files before of that.
14911
14912 2001-06-24  The LyX Project  <Asger>
14913
14914         * Fix Qt compilation.
14915
14916 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14917
14918         * paragraph.h: renamed several methods to begin with small letter.
14919         several changes to many parts of the code because of this.
14920
14921 2001-06-23  The LyX Project  <jug@sad.it>
14922
14923         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14924         rewritten to discard all double spaces when KeepEmpty is off
14925         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14926         to only handle newlines but not fiddle with spaces and friends.
14927
14928         * lyxfunc.C (MenuNew): when doing 'new from template', use
14929         template_path as default directory
14930
14931 2001-06-23  The LyX Project  <Asger>
14932
14933         * Clean-up of header file includes all over
14934         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14935
14936 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14937
14938         * paragraph.h: renamed from lyxparagraph.h
14939
14940 2001-06-23  Asger  <lyx@violet.home.sad.it>
14941
14942         * Buffer.h: Removed Buffer::resize
14943         * BufferList.h: Removed BufferList::resize
14944         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14945         the document lazily when we change the width, or the font settings.
14946
14947 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14948
14949         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14950
14951 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14952
14953         * buffer.h: remove out of date comment
14954
14955 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14956
14957         * lyxscreen.h:
14958         * screen.C: fix "theoretical" GC leak
14959
14960 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14961
14962         * LaTeX.C (scanAuxFile):
14963         (deplog): remove trailing \r when reading stream (useful under
14964         win32)
14965
14966 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14967
14968         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14969         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14970         and BufferView::theLockingInset(Inset*), so should use them and not
14971         access bv_->text->the_locking_inset directly.
14972
14973         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14974
14975 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14976
14977         * Makefile.am:
14978         * tex-defs.h: remove old unused file
14979
14980 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14981
14982         * BufferView_pimpl.C: fix typo, remove minibuffer message
14983           when buffer has loaded
14984
14985 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14986
14987         * lyxfunc.C (Dispatch): use stringstream
14988         (MenuNew): use stringstream
14989         (Open): use stringstream
14990
14991         * importer.C (Import): use stringstream
14992
14993         * bufferview_funcs.C (CurrentState): use stringstream
14994
14995         * LaTeX.C (run): use stringstream
14996
14997         * BufferView_pimpl.C (savePosition): use stringstream
14998         (restorePosition): use stringstream
14999         (MenuInsertLyXFile): use stringstream
15000
15001 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15002
15003         * BufferView.C:
15004         * Bullet.C:
15005         * ColorHandler.C:
15006         * FontInfo.C:
15007         * FontLoader.C:
15008         * LColor.C:
15009         * LaTeXFeatures.C:
15010         * Painter.C:
15011         * gettext.C:
15012         * lyx_gui_misc.C:
15013         * lyxserver.C:
15014         * vspace.C: removed // -*- C++ -*- as first line.
15015
15016         * lyxfind.h:
15017         * version.h: added // -*- C++ -*- as first line.
15018
15019 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15020
15021         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15022
15023         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15024         of string
15025
15026 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15027
15028         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15029         of floats.
15030
15031 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15032
15033         * gettext.C: include LString.h even when --disable-nls is on.
15034
15035 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15036
15037         * converter.h (Get): changed argument type from int to
15038         FormatList::size_type to avoid unnecessary conversion.
15039
15040         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15041         before using it.
15042
15043 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15044
15045         * gettext.h: include LString.h even when --disable-nls is on.
15046
15047 2001-06-07  Juergen Vigna  <jug@sad.it>
15048
15049         * text.C (BreakAgain): subst spaces with tabs.
15050
15051         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15052         (resizeInsetsLyXText): set force on resizeLyXText.
15053
15054 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15055
15056         * gettext.h (gettext_init):
15057         (locale_init): use a real definition instead of a macro
15058
15059 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15060
15061         * Bufferview_pimpl.C:
15062         * LColor.h:
15063         * LColor.C: further lcolor tidies
15064
15065 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15066
15067         * BufferView_pimpl.C (updateScrollbar): simplify.
15068
15069         * BufferView2.C: don't include insets/insetinfo.h, change
15070         prototype for insertInset and call the Pimpl version. let
15071         updateInset call Pimpl version.
15072
15073         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15074         gotoInset to BufferView::Pimpl
15075
15076 2001-06-01  Juergen Vigna  <jug@sad.it>
15077
15078         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15079         inside a LockingInset (is the update needed at all?).
15080
15081 2001-05-31  Juergen Vigna  <jug@sad.it>
15082
15083         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15084         here not the old one otherwise how should we compare it afterwards
15085         if it's the same!
15086
15087 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15088
15089         * lyxfont.C:
15090         * tabular.C:
15091         * tabular-old.C:
15092         * FontInfo.C: bring C functions into global namespace when
15093         necessary
15094
15095 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15096
15097         * LString.h: make sure config.h has been loaded before LString.h.
15098
15099         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15100         (one for each char read by EatLine!).
15101
15102         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15103         variables.
15104
15105 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15106
15107         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15108         to the same as the par we break from
15109
15110 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15111
15112         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15113
15114         * MenuBackend.C (expand): also create menu entries for wide
15115         versions of the floats.
15116
15117         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15118
15119         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15120
15121         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15122         frontends/Makefile.am
15123
15124         * text2.C: adjust
15125         * text.C: adjust
15126
15127
15128         * tabular.C (getTokenValue): add std::
15129
15130         * tabular-old.C (getTokenValue): add std::
15131         (getTokenValue): ditto
15132         (getTokenValue): ditto
15133
15134         * screen.C (ToggleSelection): adjust
15135
15136         * lyxtext.h: put selection cursors inside a Selection struct.
15137
15138         * lyxfunc.C (moveCursorUpdate): adjust
15139
15140         * lyxfont.C (latexWriteStartChanges): add std::
15141
15142         * lyxfind.C: adjust
15143
15144         * font.h: delete with(char const *, LyXFont const &)
15145
15146         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15147
15148         * FontInfo.C (getFontname): add std::
15149
15150         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15151         (workAreaButtonPress): adjust
15152         (tripleClick): adjust
15153         (update): adjust
15154         (moveCursorUpdate): adjust
15155         (Dispatch): adjust
15156
15157         * BufferView2.C (gotoInset): adjust
15158
15159 2001-05-30  Juergen Vigna  <jug@sad.it>
15160
15161         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15162         to check pspell I add this as default as I now have new pspell
15163         libraries and they seem to use this.
15164
15165 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15166
15167         * text2.C (CutSelection): make the cursor valid before the call to
15168         ClearSelection.
15169
15170 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15173         relied on 0 terminated strings and other horrors. Bug found due to
15174         the new assert in lyxstring!
15175
15176         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15177         KP_ keys.
15178
15179 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15180
15181         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15182         to latinkeys.bind.
15183
15184         * lyxfunc.C (processKeySym): change method of getting to the
15185         self-insert char.
15186
15187         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15188         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15189         * BufferView_pimpl.[Ch]: here as private methods.
15190
15191 2001-05-28  Juergen Vigna  <jug@sad.it>
15192
15193         * text.C (SetHeightOfRow): added the update() call again as it is
15194         needed to initialize inset dimensions!
15195
15196 2001-05-16  Juergen Vigna  <jug@sad.it>
15197
15198         * text2.C (SetCharFont): Add new function with BufferView * and
15199         bool toggleall parameters for setting insets internal fonts.
15200         (SetFont): Freeze the undo as we may change fonts in Insets and
15201         all this change should be inside only one Undo!
15202
15203         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15204         setting font's in insets as for them we have the SetFont function!
15205
15206 2001-05-15  Juergen Vigna  <jug@sad.it>
15207
15208         * text2.C (ClearSelection): to be sure we REALLY don't have any
15209         selection anymore!
15210
15211         * tabular.C (TeXCellPreamble): fixed the left border problem for
15212         multicolumn cells.
15213
15214 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15215
15216         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15217         dependancy file
15218
15219 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15220
15221         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15222         LFUN_BREAKPARAGRAPH.
15223
15224         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15225         help test to "internal only", similar for LFUN_INSERT_URL
15226
15227         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15228         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15229         auto_region_delete and deadkeys.
15230
15231 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15232
15233         * LColor.h:
15234         * LColor.C: remove some dead entries, tidy a little
15235
15236 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15237
15238         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15239         commented code.
15240         (Dispatch): implement LFUN_ESCAPE
15241
15242         * commandtags.h: add LFUN_ESCAPE
15243
15244         * LyXAction.C (init): add entry for LFUN_ESCAPE
15245
15246         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15247         Remove commented code.
15248         (insertNote): moved here
15249         (open_new_inset): moved here
15250
15251         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15252         BufferView_pimpl
15253
15254 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15255
15256         * kbmap.C (findbinding): clean it up and make it work correctly.
15257
15258         * lyx_main.C (init): do not pass argc and argv as parameters
15259
15260 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15261
15262         * buffer.C: fix path for OS/2 & Win32
15263
15264         * lyx_gui.C:
15265         * lyx_main:
15266         * lyx_main.C: Added os:: class.
15267
15268         * os2_defines.h: update
15269
15270 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15271
15272         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15273         better by trying again with reduced state.
15274
15275 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15276
15277         * lyxrc.C (read): print error about invalid key sequence only when
15278         debugging (because not all latinX keysyms are known to some X
15279         servers)
15280
15281         * kbsequence.C (getiso): add a few std:: qualifiers
15282         (getiso): comment out extra return statement.
15283
15284 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15285
15286         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15287         handling.
15288         (Dispatch): enhance the accent inset a bit. (not perfect)
15289
15290 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15291
15292         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15293
15294 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15295
15296         * bufferlist.C (emergencyWrite): fix assert() call
15297
15298 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15299
15300         * text.C (InsertChar): Added trivial patch to only send the "you
15301         can not do multiple spaces this way" message once during a
15302         session.
15303
15304 2001-05-08  Baruch Even  <baruch@lyx.org>
15305
15306         * Makefile.am: Changed order of libraries to get LyX to link properly
15307         with the gnome frontend.
15308
15309 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15310
15311         * LaTeXFeatures.h: add a std:: qualifier
15312
15313 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15314
15315         * paragraph.C (String): use stringstream
15316
15317 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15318
15319         * paragraph.C (writeFile): remove footflag arg
15320
15321         * buffer.C (makeLaTeXFile): use stringstream
15322         (latexParagraphs): remove footnot gurba
15323
15324         * LaTeXFeatures.C (getPackages): use stringstream
15325         (getMacros): likewise
15326         (getTClassPreamble): likewise
15327         (getFloatDefinitions): new method
15328
15329         * paragraph.C (writeFile): reindent
15330         (Erase): reindent
15331
15332         * WorkArea.h: revert the xpos + etc changes.
15333
15334         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15335
15336         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15337
15338         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15339         (pasteSelection): likewise
15340         * text2.C (CreateUndo): likewise
15341
15342 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15343
15344         * minibuffer.C (peek_event): temporarily reduce the functionality
15345         of the minibuffer (to allow args on lfuns)
15346
15347         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15348         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15349
15350         * buffer.C (readInset): add compability reading of old float
15351         lists, add reading of new style float list.
15352         (readInset): avoid reevaluation of inscmd.getCmdName()
15353         (getLists): reindent
15354
15355         * MenuBackend.C (MenuItem): implement parsing of
15356         md_floatlistinsert and md_floatinsert.
15357         (expand::LastFiles): move initalizaton of iterators out of loop,
15358         avoid reevaluation.
15359         (expand::Documents): introduce typdedef vector<string> Strings,
15360         and use it.
15361         (expand::ExportFormats): introduce typedef vector<Format const *>
15362         Formats, and use it.
15363         (expand): implement FloatListInsert and FloatInsert.
15364
15365         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15366         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15367         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15368
15369         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15370         handling.
15371         (Dispatch::LFUN_FLOAT_LIST): implement
15372
15373 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15374
15375         * LaTeX.C (run): Fix problem with --export code.
15376
15377 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15378
15379         * BufferView.[Ch] (workarea): removed.
15380         (getClipboard) new method; wrapper for workarea()->getClipboard()
15381
15382         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15383         bug.
15384
15385         * WorkArea.h (width, height, xpos, ypos): These methods all
15386         returned the dimensions of the work_area sub-area of WorkArea,
15387         resulting in a position error if the WorkArea were resized. Now
15388         return the dimensions of the entire WorkArea.
15389
15390         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15391
15392 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15393
15394         * LaTeX.C (deplog): correct the syntax of regex reg1
15395
15396 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15397
15398         * undo.C: remove !NEW_INSETS cruft
15399
15400 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15401
15402         * text2.C: remove !NEW_INSETS cruft
15403
15404         * text.C: remove !NEW_INSETS cruft
15405
15406         * tabular.C: remove !NEW_INSETS cruft
15407
15408         * spellchecker.C: remove !NEW_INSETS cruft
15409
15410         * lyxtext.h: remove !NEW_INSETS cruft
15411
15412         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15413
15414         * lyxfunc.C: remove !NEW_INSETS cruft
15415
15416         * lyxfind.C: remove !NEW_INSETS cruft
15417
15418         * lyx_cb.C: remove !NEW_INSETS cruft
15419
15420         * figureForm.C: remove  !NEW_INSETS cruft
15421
15422         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15423
15424         * buffer.[Ch]: remove !NEW_INSETS cruft
15425
15426         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15427
15428         * CutAndPaste.C: remove !NEW_INSETS cruft
15429
15430         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15431
15432         * BufferView2.C: remove !NEW_INSETS cruft
15433
15434         * BufferView.h: remove !NEW_INSETS cruft
15435
15436 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15437
15438         * Lsstream.h: include LString.h before the sstream headers to
15439         fix problem with gcc 2.95.3 and lyxstring
15440
15441 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15442
15443         * lyx_main.C: add using directives when needed for C functions
15444         declared in std:: namespace.
15445
15446 2001-04-27  Juergen Vigna  <jug@sad.it>
15447
15448         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15449         (SetHeightOfRow): comment out the update call should not be needed!
15450
15451 2001-04-13  Juergen Vigna  <jug@sad.it>
15452
15453         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15454         (LyXTabular): tried to minimize operator= operations (and realized
15455         hopfully Lars wish).
15456
15457 2001-04-27  Juergen Vigna  <jug@sad.it>
15458
15459         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15460
15461 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15462
15463         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15464
15465         * buffer.C (readInset): hack to make listof algorithm work
15466
15467         * BufferView_pimpl.C: hack to make listof algorithm work
15468
15469 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15470
15471         * LyXAction.C: removed all !NEW_INSETS cruft
15472         (init): moved lfun_item in method
15473
15474         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15475
15476 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15477
15478         * BufferView2.C (theLockingInset): white space.
15479
15480 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15481
15482         * minibuffer.C: include <iostream>
15483
15484         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15485
15486         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15487
15488         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15489
15490         * text.[Ch] (TransposeChars): new method
15491
15492 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15493
15494         * call message directly through LyXView instead of through LyXFunc
15495         * BufferView2.C: adjust
15496         * BufferView_pimpl.C: adjust
15497         * FontLoader.C: adjust
15498         * buffer.C: adjust
15499         * bufferview_funcs.C: adjust
15500         * converter.C: adjust
15501         * figureForm.C: adjust
15502         * importer.C: adjust
15503         * lyx_cb.C: adjust
15504         * lyx_gui_misc.C: adjust
15505         * lyxfunc.C: adjust
15506         * lyxvc.C: adjust
15507         * text2.C: adjust
15508         + more files in subdirs
15509
15510         * lyxparagraph.h (size): move up int file
15511         (GetLayout): ditto
15512
15513         * adjust all uses of Assert to lyx::Assert.
15514
15515         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15516         lyxfunctional in namespace lyx
15517         * layout.C (hasLayout): ditto
15518         (GetLayout): ditto
15519         (GetLayout): ditto
15520         (delete_layout): ditto
15521         (NumberOfClass): ditto
15522         * converter.C (GetFormat): ditto
15523         (GetNumber): ditto
15524         (Add): ditto
15525         (Delete): ditto
15526         (SetViewer): ditto
15527         * bufferlist.C (getFileNames): ditto
15528         (emergencyWriteAll): ditto
15529         (exists): ditto
15530         (getBuffer): ditto
15531         * MenuBackend.C (hasSubmenu): ditto
15532         (hasMenu): ditto
15533         (getMenu): ditto
15534         * BufferView_pimpl.C (getInsetByCode): ditto
15535
15536 2001-04-18  Juergen Vigna  <jug@sad.it>
15537
15538         * vspace.C (asLatexString): fixed the 100% problem.
15539
15540 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15541
15542         * lyxfunc.C (Dispatch):
15543         * minibuffer.C:
15544         * minibuffer.h: add a few std:: qualifiers
15545
15546 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * minibuffer.[Ch]: reimplement so that commands is initiated and
15549         run from lyxfunc, simplified som handling, and made the completion
15550         and history code for complete. wip.
15551
15552         * lyxfunc.C (processKeySym): call message
15553         (miniDispatch): new temporary method
15554         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15555         (LFUN_MESSAGE): implement
15556         (LFUN_MESSAGE_PUSH): implement
15557         (LFUN_MESSAGE_POP): implement
15558         (initMiniBuffer): the initial/defualt minibuffer message.
15559
15560         * lyxfont.[Ch]: inline some more getters
15561
15562         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15563
15564         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15565
15566         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15567         (AutoSave): use LFUN_MESSAGE
15568         (Reconfigure): ditto
15569
15570         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15571
15572         * figureForm.C: use LFUN_MESSAGE
15573
15574         * converter.C (runLaTeX): use LFUN_MESSAGE
15575
15576         * bufferview_funcs.C: use LFUN_MESSAGE
15577         (Melt): ditto
15578         (changeDepth): ditto
15579
15580         * bufferparams.h: use boost::
15581
15582         * bufferlist.h: inherit privately from noncopyable
15583
15584         * bufferlist.C (loadLyXFile): remove some commented code.
15585
15586         * buffer.C (runChktex): use LFUN_MESSAGE
15587
15588         * ShareContainer.h: inherit privately from noncopyable
15589
15590         * ParagraphParameters.[hC] (depth): inline it.
15591
15592         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15593         methods.
15594         (message): new method
15595         (messagePush): ditto
15596         (messagePop): ditto
15597         (show): init minibuffer
15598         (showState): direct call
15599
15600         * LaTeX.[Ch]: inherit privately from noncopyable
15601         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15602         instead of WriteStatus.
15603
15604         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15605
15606         * BufferView_pimpl.C (buffer): don't init minibuffer
15607         (workAreaButtonPress): use LFUN_MESSAGE
15608         (workAreaButtonRelease): ditto
15609         (savePosition): ditto
15610         (restorePosition): ditto
15611         (MenuInsertLyXFile): ditto
15612         (workAreaExpose): don't init minibuffer
15613         (update): remove commented code, simplify
15614
15615         * BufferView2.C (openStuff): use LFUN_MESSAGE
15616         (toggleFloat): ditto
15617         (menuUndo): ditto
15618         (menuRedo): ditto
15619         (copyEnvironment): ditto
15620         (pasteEnvironment): ditto
15621         (copy): ditto
15622         (cut): ditto
15623         (paste): ditto
15624         (gotoInset): ditto
15625         (updateInset): remove some commented code
15626
15627         * lastfiles.h: inherit privately from noncopyable
15628         * layout.h: ditto
15629         * lyx_gui.h: ditto
15630         * lyx_main.h: ditto
15631         * lyxlex.h: ditto
15632         * lyxlex_pimpl.h: ditto
15633
15634         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15635         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15636         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15637
15638         * LyXAction.h: inherit privately from noncopyable, add methods
15639         func_begin, func_end, returning iterators to the func map.
15640
15641         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15642         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15643         (func_begin): new method
15644         (func_end): new method
15645
15646         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15647         and not)
15648         (copySelection): ditto
15649         (pasteSelection): ditto
15650
15651         * BufferView.C: whitespace change
15652         * BufferView.h: inherit privately from noncopyable
15653
15654 2001-04-16  Allan Rae  <rae@lyx.org>
15655
15656         * tabular-old.C (l_getline):
15657         * spellchecker.C (sc_check_word):
15658         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15659         an unrecognised preprocessor directive.  So ensure they're wrapped.
15660
15661 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15662
15663         * src/exporter.C (Export): Give an error message when path to file
15664         contains spaces.
15665
15666 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15667
15668         * LaTeX.C (deplog): Always check that foundfile exists.
15669
15670 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15671
15672         * lyx_main.h:
15673         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15674
15675 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15676
15677         * tabular.[Ch] (getLabelList): implement new method
15678
15679         * minibuffer.h: comment ouf setTiimer
15680
15681         * minibuffer.C (ExecutingCB): constify res
15682         (peek_event): constify s
15683         (Set): constify ntext
15684         (Init): constify nicename
15685
15686         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15687
15688         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15689         (savePosition): use two params to Minibuffer::Set
15690         (restorePosition): ditto
15691
15692 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15693
15694         * lyx_main.C: include language.h
15695
15696         * Makefile.am (lyx_main.o): add language.h
15697
15698 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15699
15700         * exporter.C:
15701         * paragraph.C:
15702         * screen.C:
15703         * tabular.C:
15704         * CutAndPaste.C: include gettext.h
15705
15706         * lyxfont.h: remove old hack with ON and OFF.
15707
15708         * lyxparagraph.h:
15709         * lyxfont.h: do not include language.h...
15710
15711         * BufferView2.C:
15712         * LaTeXFeatures.C:
15713         * Painter.C:
15714         * bufferview_funcs.C:
15715         * font.C:
15716         * lyxfont.C:
15717         * text.C:
15718         * text2.C:
15719         * trans_mgr.C:
15720         * paragraph.C: ... but do it here instead
15721
15722 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15723
15724         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15725
15726         * tabular.C: small reformat
15727
15728         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15729         NEW_INSETS version
15730         (GetChar): ditto
15731         (BreakParagraph): ditto
15732         (SetOnlyLayout): ditto
15733         (SetLayout): ditto
15734
15735         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15736         with one arg less.
15737
15738         * lastfiles.C: removed most using decl, add std:: where needed
15739
15740         * buffer.C: ws changes
15741
15742         * MenuBackend.C (class compare_format): put into anon namespace
15743         (expand): constify label, names, action, action2
15744         (expand):
15745
15746         * text.C (SingleWidth): constify font
15747         (IsBoundary): constify rtl2
15748         (GetVisibleRow): constify ww
15749
15750         * LaTeX.C (deplog): constify logfile
15751
15752         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15753         start_x, end_x
15754         (workAreaExpose): constify widthChange, heightChange
15755
15756         * lyxrow.C (par): moved
15757         (height): moved
15758         (next): moved
15759         * lyxrow.h: as inlines here
15760
15761         * lyxfont.h (shape): moved from lyxfont.C
15762         (emph): moved from lyxfont.C
15763
15764         * lyxfont.C (LyXFont): use initialization list for all
15765         constructors
15766         (shape): move to lyxfont.h as inline
15767         (emph): move to lyxfont.h as inline
15768
15769
15770 2001-04-04  Juergen Vigna  <jug@sad.it>
15771
15772         * vspace.C: had to include stdio.h for use of sscanf
15773
15774 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15775
15776         * BufferView.h:
15777         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15778         independent of xforms.
15779
15780 2001-04-02  Juergen Vigna  <jug@sad.it>
15781
15782         * spellchecker.C: fixed namespace placing!
15783
15784 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15785
15786         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15787         the LyXParagraph * is 0.
15788
15789 2001-03-29  Juergen Vigna  <jug@sad.it>
15790
15791         * vspace.C: added support for %, c%, p%, l%.
15792         (stringFromUnit): added helper function.
15793         (asLatexString): changed to give right results for the %-values.
15794
15795         * buffer.C: convert the widthp in a width%.
15796
15797 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15798
15799         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15800         figureForm.[Ch].
15801
15802         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15803         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15804
15805         * lyx_cb.[Ch]: see above.
15806
15807         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15808         form1.[Ch].
15809
15810         * form1.[Ch]:
15811         * lyx.[Ch]: replaced by figure_form.[Ch].
15812
15813         * lyx_gui.C:
15814         * lyx_gui_misc.C:
15815         * lyxfunc.C: changed headers associated with above changes.
15816
15817 2001-03-27  Juergen Vigna  <jug@sad.it>
15818
15819         * BufferView_pimpl.C: set the temporary cursor right!
15820
15821 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15822
15823         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15824
15825 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15826
15827         * LString.h: removed "using std::getline"!
15828
15829         * BufferView_pimpl.C (Dispatch): changes due to changes in
15830         InsetInclude::Params.
15831
15832         * buffer.C (tag_name): removed redundant break statements as they were
15833         producing lots of warnings with my compiler.
15834
15835 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15836
15837         * LString.h: add "using std::getline" when using the real <string>.
15838
15839 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15840
15841         * buffer.C: removed bitset usage.
15842         PAR_TAG moved to an anonymous name space.
15843         (tag_name): new funtion, also in the anonymous namespace.
15844         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15845         (makeDocBookFile): clean code. Completed transition from string arrays
15846         to string vectors.
15847         (SimpleDocBookOnePar): code clean.
15848
15849 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15850
15851         * tabular.C: add some comments.
15852
15853 2001-03-22  Juergen Vigna  <jug@sad.it>
15854
15855         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15856         compatibility read a bit and fixed bug with minipage in different
15857         depth.
15858
15859 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15860
15861         * buffer.C (pop_tag): removed.
15862         (push_tag): removed.
15863         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15864         array replaced with vector. Added support for CDATA sections.
15865         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15866         at any nest level.
15867         (makeDocBookFile): XML conformant declaration of CDATA section,
15868         fixed bug related to <emphasis> in the first paragraph char.
15869         (sgmlOpenTag): exclude empty tags.
15870         (sgmlCloseTag): ditto.
15871
15872         * buffer.h (pop_tag): removed.
15873         (push_tag): removed.
15874
15875 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15876
15877         * language.h (Languages): added size_type and size().
15878
15879 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15880
15881         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15882         response on compability reading of minipages. One probliem is that
15883         the old usage of minipages was «flertydig»
15884
15885         * several files here and in subdirs: don't use static at file
15886         scope use anon namespaces instead.
15887
15888 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15889
15890         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15891         LaTeX output. This is necessary for Literate document
15892         processing.
15893
15894 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15895
15896         * buffer.C: insert hfill when needed.
15897
15898         * tabular.C (l_getline): use string::erase, small whitespace change.
15899
15900         * BufferView_pimpl.C: try the anon namespace.
15901         * WorkArea.C: ditto
15902
15903 2001-03-16  Juergen Vigna  <jug@sad.it>
15904
15905         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15906         otherwise it won't open options-dialogs.
15907
15908         * buffer.C: honor pextraWidth(p) on converting minipages.
15909
15910         * tabular.C (l_getline): changed the functions to strip trailing \r.
15911
15912 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15913
15914         * BufferView_pimpl.C:
15915         * minibuffer..C: added "using SigC::slot" declaration.
15916
15917 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15918
15919         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15920
15921         * text2.C: ditto
15922
15923         * text.C: ditto
15924
15925         * paragraph.C: ditto
15926
15927         * lyxtext.h: NO_PEXTRA
15928
15929         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15930
15931         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15932         * ParameterStruct.h: ditto
15933         * ParagraphParameters.h: ditto
15934         * lyxparagraph.h: ditto
15935
15936 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15937
15938         * buffer.C: add compability for minipage alignment.
15939         (latexParagraphs): remove unwanted pextra check.
15940
15941         * several files: remove CXX_WORKING_NAMESPACES
15942
15943         * buffer.C (pop_tag): tie is in namespace boost
15944
15945         * BufferView.h: noncopyable is in namespace boost
15946         * lyxlex.h: ditto
15947         * lyx_main.h: ditto
15948         * lyx_gui.h: ditto
15949         * layout.h: ditto
15950         * lastfiles.h: ditto
15951         * bufferlist.h: ditto
15952         * ShareContainer.h: ditto
15953         * LyXView.h: ditto
15954         * LyXAction.h: ditto
15955         * LaTeX.h: ditto
15956
15957 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15958
15959         * Merging changes from BRANCH_MVC back into HEAD.
15960
15961         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15962
15963 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15964
15965         * BufferView_pimpl.C: change from intl.C
15966
15967         * combox.h:
15968         * combox.C:
15969         * Makefile.am: move combox.*
15970
15971         * form1.h:
15972         * form1.C:
15973         * lyx_gui.C:
15974         * intl.h:
15975         * intl.C: remove dialog (covered by prefs)
15976
15977 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15978
15979         * lyxfunc.C (Dispatch): removed redundant break statement.
15980
15981 2001-03-14  Juergen Vigna  <jug@sad.it>
15982
15983         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15984
15985 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15986
15987         * buffer.C: add hack to fix compability reading of minipages.
15988
15989 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15990
15991         * buffer.C (getLists): Cleanup.
15992
15993 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15994
15995         * lyxfont.C (update): don't honor toggleall on font size.
15996
15997 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15998
15999         * bmtable.c:
16000         * bmtable.h:
16001         * Makefile.am: moved to frontends/xforms/
16002
16003         * lyx_gui_misc.C:
16004         * lyxfunc.C:
16005         * BufferView_pimpl.C: changes for moved mathpanel
16006
16007 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16008
16009         * gettext.h: fix gettext_init() in --disable-nls
16010
16011 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16012
16013         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16014
16015 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16016
16017         * lyx.C:
16018         * lyx.h: strip external form
16019
16020 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16021
16022         * BufferView_pimpl.C: add comment, destroySplash()
16023
16024 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16025
16026         * BufferView_pimpl.C:
16027         * LyXAction.C:
16028         * buffer.C:
16029         * commandtags.h:
16030         * lyxfunc.C: use re-worked insetinclude
16031
16032 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16033
16034         * buffer.C: add using std::stringstream.
16035
16036         * lyx_cb.C: readd using std::ios.
16037
16038         * buffer.C: add using std::map.
16039
16040         * BufferView_pimpl.C: add using std::vector.
16041
16042         * ShareContainer.h: add std:: to swap.
16043
16044         * buffer.h: add some typedefs
16045         * buffer.C (getLists): use them
16046         (getLists): renamed from getTocList.
16047         add a counter for the different float types and use it in the
16048         generated string.
16049         (getLists): use the same counter for the NEW_INSETS and the "non"
16050         NEW_INSETS
16051
16052         * lyx_cb.h: remove unused items, includes, using etc.
16053
16054         * ShareContainer.h: remove some commented code, add more comments
16055         and "documentation".
16056
16057 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16058
16059         * buffer.C (getTocList): make the list also when NEW_INSETS is
16060         defined.
16061
16062         * buffer.h: remove TocType
16063
16064         * buffer.C (getTocList): change to return a map<string,
16065         vector<TocItem> >, implement for dynamic number of list.
16066
16067         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16068         * text2.C (PasteSelection): adjust
16069         * CutAndPaste.C (pasteSelection): adjust
16070
16071         * FloatList.C (FloatList): update from the new_insets branch.
16072         * Floating.[Ch]: ditto
16073         * LaTeXFeatures.C: ditto
16074         * buffer.C: ditto
16075         * lyxlex_pimpl.C: ditto
16076
16077         * paragraph.C (Last): remove when NEW_INSETS is defined.
16078
16079         * other file: changes because of the above.
16080
16081 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16082
16083         * lyxparagraph.h: rename next to next_, previous to previous_,
16084         make them private for NEW_INSETS. Rename Next() to next(),
16085         Previous() to previous().
16086
16087         * other files: changes because of the above.
16088
16089 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16090
16091         * BufferView.h:
16092         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16093         problem.
16094
16095 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16096
16097         * main.C (main): pass lyx_localedir to gettext_init().
16098
16099         * gettext.h: remove locale_init and gettext_init macros
16100
16101         * gettext.C (locale_init): new function
16102         (gettext_init): new function
16103
16104         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16105         setlocale().
16106
16107 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16108
16109         * Moved credits to frontends:
16110         * credits.[Ch]: removed
16111         * credits_form.[Ch]: removed
16112         * lyx_gui_misc.C: remove credits stuff
16113         * Makefile.am:
16114
16115 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16116
16117         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16118
16119         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16120         unneeded destructor.
16121
16122         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16123         a standalone pointer again.
16124
16125         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16126
16127 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16128
16129         * Makefile.am:
16130         * filedlg.h:
16131         * filedlg.C:
16132         * LyXAction.C:
16133         * ToolbarDefaults.C:
16134         * bufferlist.C:
16135         * commandtags.h:
16136         * form1.C:
16137         * form1.h:
16138         * lyx_cb.C:
16139         * lyx_cb.h:
16140         * lyxfunc.h:
16141         * lyxfunc.C:
16142         * BufferView_pimpl.C: use new file dialog in GUII
16143
16144         * lyx_cb.h:
16145         * lyx_cb.C: remove LayoutsCB to Toolbar
16146
16147 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16148
16149         * ShareContainer.h (get): add std:: qualifier
16150
16151 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16152
16153         * ShareContainer.h: define a proper ShareContainer::value_type
16154         type (and use typename to please compaq cxx)
16155
16156 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16157
16158         * lyxparagraph.h: move serveral local vars to
16159         ParameterStruct/ParagraphParameters., use ShareContainer in
16160         FontTable., make vars in FontTable private and add getter and
16161         setter.
16162
16163         * paragraph.C: changes because of the above.
16164
16165         * lyxfont.h: remove copy constructor and copy assignment. (the
16166         default ones is ok), move number inside FontBits. move inlines to
16167         lyxfont.C
16168
16169         * lyxfont.C: add number to initializaton of statics, move several
16170         inlines here. constify several local vars. some whitespace
16171         cleanup. Dont hide outerscope variables.
16172
16173         * Spacing.h: add two new constructors to match the set methods.
16174
16175         * ShareContainer.h: new file, will perhaps be moved to support
16176
16177         * ParameterStruct.h: new file
16178
16179         * ParagraphParameters.h: new file
16180
16181         * ParagraphParameters.C: new file
16182
16183         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16184         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16185
16186         * BufferView_pimpl.C: ParagraphParameter changes.
16187         * buffer.C: Likewise.
16188         * bufferview_funcs.C: Likewise.
16189         * text.C: Likewise.
16190         * text2.C: Likewise.
16191
16192 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16193
16194         * lyxfind.C (LyXReplace): do not redefine default argument in
16195         implementation.
16196         (IsStringInText): ditto
16197         (SearchForward): ditto
16198         (SearchBackward): ditto
16199
16200 2001-03-06  Juergen Vigna  <jug@sad.it>
16201
16202         * lyxfind.C (IsStringInText): put parentes around expressions.
16203
16204 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16205
16206         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16207
16208 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16209
16210         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16211
16212         * stl_string_fwd.h: add comment
16213
16214         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16215
16216         * tabular.h:
16217         * tabular.C: remove unused DocBook methods
16218
16219         * intl.C:
16220         * language.C:
16221         * paragraph.C:
16222         * buffer.C:
16223         killed DO_USE_DEFAULT_LANGUAGE
16224
16225 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16226
16227         * lyx_gui.C: do not include language.h.
16228
16229         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16230         arguments in function implementation.
16231
16232 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16233
16234         * BufferView_pimpl.C: add <ctime>
16235
16236 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16237
16238         * BufferView_pimpl.C: add using std::find_if
16239
16240 2001-02-27  José Matos  <jamatos@fep.up.pt>
16241
16242         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16243         by OnlyPath.
16244
16245 2001-02-11  José Matos  <jamatos@fep.up.pt>
16246
16247         * buffer.C (makeDocBookFile): command styles now have a parameter as
16248         "title" by default.
16249
16250 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16251
16252         * layout_forms.[Ch]: removed
16253         * lyx_cb.[Ch]: out character
16254         * lyx_gui.C: out character
16255         * lyx_gui_misc.C: out character
16256         * bufferview_funcs.C: : out character,
16257         added toggleall as parameter in ToggleAndShow
16258
16259 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16260
16261         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16262
16263         * text2.C (SetCurrentFont): Disable number property at boundary.
16264
16265 2001-02-26  Juergen Vigna  <jug@sad.it>
16266
16267         * lyxfunc.C (getStatus): added a string argument override function so
16268         that this is correctly called from LyXFunc::Dispatch if it contains a
16269         do_not_use_argument which is used!
16270         (Dispatch): added check for "custom" export and call appropriate func.
16271
16272 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16273
16274         * lyxrc.C: Add language_command_local, language_use_babel and
16275         language_global_options.
16276
16277         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16278
16279         * buffer.C (makeLaTeXFile): Use language_use_babel and
16280         language_global_options.
16281
16282 2001-02-23  Juergen Vigna  <jug@sad.it>
16283
16284         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16285         which works with LyXText and putted it inside BufferView. Here now we
16286         only call for that part the BufferView::Dispatch() function.
16287
16288         * BufferView.C (Dispatch): added.
16289
16290         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16291         functions which needs to use a LyXText over from LyXFunc.
16292         (MenuInsertLyXFile): added
16293         (getInsetByCode): added
16294         (moveCursorUpdate): added
16295         (static TEXT): added
16296
16297 2001-02-22  Juergen Vigna  <jug@sad.it>
16298
16299         * BufferView_pimpl.C (update): call a status update to see if LyXText
16300         needs it.
16301
16302 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16303
16304         * vc-backend.C (revert): implement for CVS
16305         (getLog): implement for CVS
16306
16307 2001-02-20  Juergen Vigna  <jug@sad.it>
16308
16309         * text2.C (ClearSelection): added BufferView param for inset_owner call
16310
16311         * lyxfunc.C (TEXT): added this function and use it instead of
16312         directly owner->view()-text of getLyXText().
16313
16314 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16315
16316         * src/layout_forms.C: out preamble
16317         * src/layout_forms.h: out preamble
16318         * src/lyx_cb.C: out preamble
16319         * src/lyx_cb.h: out preamble
16320         * src/lyx_gui.C: out preamble
16321         * src/lyx_gui_misc.C: out preamble
16322         * src/lyxfunc.C: connect with guii preamble
16323
16324 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16325
16326         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16327
16328 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16329
16330         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16331         whether to run bibtex.
16332
16333 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16334
16335         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16336
16337 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16338
16339         * Makefile.am (lyx_SOURCES): removed bibforms.h
16340
16341         * vspace.h: doxygen
16342
16343         * text.C (GetVisibleRow): make several local vars const
16344
16345         * tabular.C: small cleanup.
16346
16347         * lyxserver.C (callback): use compare instead of strncmp
16348
16349         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16350         inlines to after class or to paragraph.C
16351
16352         * lyxfont.h: remove friend operator!=
16353
16354         * converter.h: move friend bool operator< to non friend and after
16355         class def.
16356
16357         * combox.h: small cleanup
16358
16359         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16360         to inlines after class def.
16361
16362         * buffer.C (pop_tag): use string operations instead of strcmp
16363
16364         * bmtable.c: doxygen, small cleanup
16365
16366         * LaTeX.h: remove friend operator==
16367
16368 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16369
16370         * screen.C:
16371         * lyxrc.[Ch]:
16372         * lyxfunc.C:
16373         * lyxfont.[Ch]:
16374         * lyx_cb.C:
16375         * intl.[Ch]:
16376         * commandtags.h:
16377         * buffer.C:
16378         * WorkArea.[Ch]:
16379         * LyXAction.C:
16380         * BufferView_pimpl.C:
16381         * BufferView.[Ch]: remove cruft
16382
16383 2001-02-14  Juergen Vigna  <jug@sad.it>
16384
16385         * lyxfunc.C: removed #if 0 unused code
16386
16387         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16388
16389         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16390
16391         * text2.C (SetSelection): added a BufferView * parameter
16392
16393 2001-02-13  Juergen Vigna  <jug@sad.it>
16394
16395         * lyxfunc.C (Dispatch): fixed protected blank problem.
16396         * BufferView2.C (protectedBlank): added LyxText * parameter.
16397
16398         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16399         (AppendColumn): same as above for column_info.
16400
16401         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16402         (moveCursorUpdate): use a LyXText param for support of InsetText.
16403
16404         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16405         (tripleClick): ditto
16406
16407         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16408
16409         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16410
16411         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16412
16413         * text2.C (SetSelection): set correct update status if inset_owner
16414         (ToggleFree): ditto
16415
16416 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16417
16418         * tabular.C: remove some commented code.
16419
16420 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16421
16422         * BufferView_pimpl.C: call hideSplash()
16423
16424         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16425
16426         * include_form.h:
16427         * bibforms.h: remove
16428
16429         * lyxfunc.C:
16430         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16431           add LFUN_CHILD_CREATE
16432
16433         * counters.h: fix tiny typo
16434
16435         * lyx_cb.C:
16436         * lyx.h:
16437         * lyx_gui.C:
16438         * lyx.C: move splash to frontends/xforms/
16439
16440         * lyx_gui_misc.C: move Include and Bibform to frontends
16441
16442         * lyxvc.h: clarify comment
16443
16444         * vspace.C: tiny housekeeping
16445
16446 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16447
16448         * text.C (PrepareToPrint): RTL Fix.
16449
16450         * paragraph.C (GetUChar): New method.
16451         (String):  Use GetUChar.
16452
16453         * buffer.C (asciiParagraph): Use GetUChar.
16454
16455 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16456
16457         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16458
16459 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16460
16461         * buffer.h:
16462         * buffer.C: rename to getLogName(), handle
16463           build log / latex log nicely
16464
16465 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16466
16467         * MenuBackend.C:
16468         * MenuBackend.h: remove support for reference menuitem type.
16469
16470 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16471
16472         * BufferView_pimpl.C: housekeeping
16473         * BufferView_pimpl.h:
16474         * LyXView.h:
16475         * Makefile.am:
16476         * Timeout.C:
16477         * Timeout.h:
16478         * minibuffer.h: move Timeout GUI-I
16479
16480 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16481
16482         * lyxrc.C (read): Update converters data-structures.
16483
16484 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16485
16486         * LaTeX.h (operator!=): add operator != for Aux_Info
16487
16488 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16489
16490         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16491
16492         * LaTeXLog.C: deleted, useful code moved to Buffer
16493
16494         * buffer.h:
16495         * buffer.C: new function getLatexLogName()
16496
16497         * lyx_gui_misc.C:
16498         * lyx_gui.C:
16499         * lyxvc.C:
16500         * lyxvc.h:
16501         * lyxfunc.C: use frontends for LaTeX and VC logs
16502
16503 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16504
16505         * LaTeX.h: yet another std:: that Allan forgot.
16506
16507         * Variables.C (set): renamed from isset(), because this clashes
16508         with some HP-UX macros (grr).
16509
16510 2001-02-06  Allan Rae  <rae@lyx.org>
16511
16512         * LaTeX.h: Another bug fix.  Missing std:: this time.
16513
16514 2001-02-04  Allan Rae  <rae@lyx.org>
16515
16516         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16517         floats problem. I've left it commented out because it's not quite
16518         correct.  It should also test that the current object is a table or
16519         figure inset.  But I haven't gotten around to figuring out how to do
16520         that.  I *think* it'll be something like: "table" == inset.type()
16521
16522         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16523         bool.
16524
16525 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16526
16527         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16528         all the citation/databases/styles in the auxilary file.
16529         (run): Rerun latex if there was a babel language error.
16530
16531 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16532
16533         * text.C (Backspace): Preserve the font when changing newline char
16534         with a space.
16535         (BreakParagraph): If the cursor is before a space, delete the space.
16536
16537         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16538
16539 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16540
16541         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16542         new argument (code).
16543         (ChangeCitationsIfUnique): New method.
16544
16545         * paragraph.C (GetPositionOfInset): Handle bibkey.
16546
16547 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16548
16549         * BufferView_pimpl.h: change type of Position::par_pos to
16550         LyXParagraph::size_type.
16551
16552 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16553
16554         * BufferView_pimpl.C (savePosition, restorePosition): Write
16555         messages to minibuffer.
16556
16557 2001-01-28  José Matos  <jamatos@fep.up.pt>
16558
16559         * buffer.C (makeDocBookFile): adds support for document language.
16560         A silly restriction on the name of LatexCommand types where removed.
16561         Added support for CDATA sections, allows to chars unescaped, used
16562         among others in code, to avoid escape < and >.
16563
16564 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16565
16566         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16567         saved positions instrad of a stack. Furthermore, a position is
16568         stored using paragraph id/paragraph position.
16569
16570         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16571         Remove LFUN_REF_BACK.
16572
16573 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16574
16575         * converter.C (dvipdfm_options): New method.
16576
16577 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16578
16579         * vspace.C (isValidLength): Fix for empty input string.
16580
16581 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16582
16583         * LyXAction.C (init): change description of LFUN_FIGURE to
16584         "Insert Graphics"
16585
16586 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16587
16588         * LaTeX.C: add using directive
16589
16590 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16591
16592         * MenuBackend.C (expand): Fix the sorting of the formats.
16593
16594 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16595
16596         * lyx_main.C: tiny error message fix
16597
16598 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16599
16600         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16601         calling fl_initialize(). This fixes the problem with ',' as
16602         decimal separator in text files.
16603
16604 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16605
16606         * trans.C (process): Fix the keymap bug.
16607
16608 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16609
16610         * LaTeX.C (scanAuxFiles): New method. Provides support for
16611         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16612         (scanLogFile) Scan for "run BibTeX" messages.
16613
16614         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16615         OT1 font encoding. Also, load the aecompl package if the ae
16616         package is loaded.
16617
16618         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16619
16620 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16621
16622         * texrow.C (increasePos): turn two error messages into debug
16623         messages.
16624
16625 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16626
16627         * LaTeX.C (scanAux): Handle the \@input macro.
16628         (runBibTeX): Use scanAux().
16629
16630         * language.C (latex_options_): New field.
16631
16632         * LaTeXFeatures.C (getMacros): Add language macros.
16633
16634         * buffer.C (makeLaTeXFile): Small fix.
16635
16636 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16637
16638         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16639
16640         * text2.C: add a using directive.
16641
16642 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16643
16644         * BufferView2.C:
16645         * lyx_gui_misc.h:
16646         * lyxfr1.C:
16647         * lyxfunc.C: kill LyXBell.
16648
16649 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16650
16651         * text.C (IsBoundary): Remove the error message
16652
16653         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16654
16655         * lyxrc.C (setDefaults): Correct initialization value for
16656         font_norm_type.
16657
16658 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16659
16660         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16661         gotoError().
16662
16663         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16664         and GotoNextNote().
16665
16666         * src/LyXAction.C: Added reference-next.
16667
16668         * text.C (InsertChar): Use contains instead of strchr.
16669
16670         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16671
16672 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16673
16674         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16675         alignment commands (when needed).
16676
16677         * text.C (InsertChar): Add ':' to number separator chars.